Skip to content

Commit 82370fd

Browse files
committed
ui: Don't extends eslint config from react-app
1 parent 5b46242 commit 82370fd

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

ui/.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
*.scss
2+
13
build/
24
node_modules/
35
src/client/

ui/package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"eslint": "^7.32.0",
2323
"eslint-config-prettier": "^8.5.0",
2424
"eslint-config-standard-with-typescript": "^21.0.1",
25+
"eslint-plugin-import": "^2.26.0",
2526
"eslint-plugin-prettier": "^4.0.0",
2627
"eslint-plugin-react": "^7.29.4",
2728
"eslint-plugin-react-hooks": "^4.4.0",
@@ -35,13 +36,8 @@
3536
"build": "react-scripts build",
3637
"test": "react-scripts test",
3738
"eject": "react-scripts eject",
38-
"lint": "eslint --ext .ts,.tsx,.js src/*",
39-
"fix": "eslint --fix --ext .ts,.tsx,.js src/*"
40-
},
41-
"eslintConfig": {
42-
"extends": [
43-
"react-app"
44-
]
39+
"lint": "eslint --ext .ts,.tsx,.js src src/components/* src/pages/*",
40+
"fix": "eslint --fix --ext .ts,.tsx,.js src src/components/* src/pages/*"
4541
},
4642
"browserslist": {
4743
"production": [

0 commit comments

Comments
 (0)