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 = {
44 es6 : true
55 } ,
66 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+ ]
2210}
Original file line number Diff line number Diff line change 55 "scripts" : {
66 "build" : " npm run lint && npm run compile" ,
77 "compile" : " tsc" ,
8- "lint" : " eslint --ext .ts src"
8+ "lint" : " eslint --ext .ts --ext .tsx src"
99 },
1010 "repository" : {
1111 "type" : " git" ,
Original file line number Diff line number Diff line change 44 "outDir" : " dist/" ,
55 "declaration" : true ,
66 "skipLibCheck" : true ,
7- "baseUrl" : " ./app " ,
7+ "baseUrl" : " ./src " ,
88 "jsx" : " react" ,
99 "lib" : [
1010 " dom" ,
1717 " *"
1818 ]
1919 },
20- "resolveJsonModule" : true ,
2120 "sourceMap" : true ,
2221 "target" : " ES2022"
2322 },
You can’t perform that action at this time.
0 commit comments