File tree Expand file tree Collapse file tree 3 files changed +5
-18
lines changed Expand file tree Collapse file tree 3 files changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,7 @@ module.exports = {
4
4
es6 : true
5
5
} ,
6
6
extends : [
7
- '@codingame' , 'standard-jsx'
8
- ] ,
9
- parserOptions : {
10
- ecmaFeatures : {
11
- jsx : true
12
- }
13
- } ,
14
- plugins : [
15
- 'react' ,
16
- 'react-hooks'
17
- ] ,
18
- rules : {
19
- 'react-hooks/exhaustive-deps' : 'error' ,
20
- 'react-hooks/rules-of-hooks' : 'error'
21
- }
7
+ '@codingame/eslint-config' ,
8
+ '@codingame/eslint-config-react'
9
+ ]
22
10
}
Original file line number Diff line number Diff line change 5
5
"scripts" : {
6
6
"build" : " npm run lint && npm run compile" ,
7
7
"compile" : " tsc" ,
8
- "lint" : " eslint --ext .ts src"
8
+ "lint" : " eslint --ext .ts --ext .tsx src"
9
9
},
10
10
"repository" : {
11
11
"type" : " git" ,
Original file line number Diff line number Diff line change 4
4
"outDir" : " dist/" ,
5
5
"declaration" : true ,
6
6
"skipLibCheck" : true ,
7
- "baseUrl" : " ./app " ,
7
+ "baseUrl" : " ./src " ,
8
8
"jsx" : " react" ,
9
9
"lib" : [
10
10
" dom" ,
17
17
" *"
18
18
]
19
19
},
20
- "resolveJsonModule" : true ,
21
20
"sourceMap" : true ,
22
21
"target" : " ES2022"
23
22
},
You can’t perform that action at this time.
0 commit comments