File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,19 @@ export default defineConfig([
3030 tsconfigRootDir : rootPath ,
3131 } ,
3232 } ,
33+ rules : {
34+ // Turn off rules that are handled by TypeScript
35+ // https://typescript-eslint.io/troubleshooting/typed-linting/performance/#eslint-plugin-import
36+ 'import/default' : 'off' ,
37+ 'import/named' : 'off' ,
38+ 'import/namespace' : 'off' ,
39+ 'import/no-cycle' : 'off' ,
40+ 'import/no-deprecated' : 'off' ,
41+ 'import/no-named-as-default' : 'off' ,
42+ 'import/no-named-as-default-member' : 'off' ,
43+ 'import/no-unresolved' : 'off' ,
44+ 'import/no-unused-modules' : 'off' ,
45+ } ,
3346 settings : {
3447 'import/resolver' : {
3548 node : true ,
Original file line number Diff line number Diff line change 5858 "lint:fix" : " yarn lint:js:fix && yarn lint:prettier:fix" ,
5959 "lint:prettier" : " prettier --check ." ,
6060 "lint:prettier:fix" : " prettier --write ." ,
61- "lint:js" : " eslint ." ,
61+ "lint:js" : " eslint . --max-warnings 0 " ,
6262 "lint:js:fix" : " yarn lint:js --fix" ,
6363 "lint:types" : " tsc --build tsconfig.json --pretty" ,
6464 "build-storybook" : " storybook build" ,
Original file line number Diff line number Diff line change 66 "module" : " ESNext" ,
77 "moduleResolution" : " Bundler" ,
88 "noEmit" : true ,
9+ "noUnusedLocals" : true ,
910 "resolveJsonModule" : true ,
1011 "skipLibCheck" : true ,
1112 "strict" : false ,
You can’t perform that action at this time.
0 commit comments