mirror of
https://github.com/prymitive/karma
synced 2026-05-11 03:46:48 +00:00
fix(tests): correctly run eslint
This commit is contained in:
committed by
Łukasz Mierzwa
parent
ec8422d45a
commit
30f9d2d251
@@ -27,7 +27,7 @@ test-percy: node_modules/@storybook/react/bin/build.js
|
||||
|
||||
.PHONY: lint-js
|
||||
lint-js: node_modules/eslint/bin/eslint.js
|
||||
node_modules/eslint/bin/eslint.js --quiet src
|
||||
node_modules/eslint/bin/eslint.js --quiet 'src/**/*.{ts,tsx}'
|
||||
|
||||
.PHONY: lint-git-ci
|
||||
lint-git-ci: node_modules/@commitlint/travis-cli/lib/cli.js
|
||||
|
||||
@@ -107,6 +107,12 @@
|
||||
]
|
||||
},
|
||||
"eslintConfig": {
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"settings": {
|
||||
"react": {
|
||||
"version": "detect"
|
||||
}
|
||||
},
|
||||
"extends": [
|
||||
"react-app",
|
||||
"plugin:react/recommended",
|
||||
|
||||
Reference in New Issue
Block a user