@@ -10,6 +10,8 @@ module.exports = {
1010
1111 extends : [
1212 'eslint:recommended' ,
13+ 'plugin:import/errors' ,
14+ 'plugin:import/typescript' ,
1315 'plugin:jsx-a11y/strict' ,
1416 'plugin:react/recommended' ,
1517 'plugin:react-hooks/recommended' ,
@@ -60,11 +62,25 @@ module.exports = {
6062 } ,
6163 } ,
6264 ] ,
65+ '@typescript-eslint/no-unused-vars' : [
66+ 'error' ,
67+ {
68+ vars : 'all' ,
69+ varsIgnorePattern : '^_' ,
70+ args : 'after-used' ,
71+ argsIgnorePattern : '^_' ,
72+ caughtErrors : 'none' ,
73+ caughtErrorsIgnorePattern : '^_' ,
74+ destructuredArrayIgnorePattern : '^_' ,
75+ ignoreRestSiblings : true ,
76+ } ,
77+ ] ,
6378 } ,
6479 } ,
6580 ] ,
6681
6782 plugins : [
83+ 'import' ,
6884 'jest' ,
6985 'jsx-a11y' ,
7086 'no-only-tests' ,
@@ -117,7 +133,11 @@ module.exports = {
117133 'default-case' : 'off' ,
118134 'func-names' : 'off' ,
119135 'global-require' : 'off' ,
120-
136+ 'import/export' : 'off' ,
137+ 'import/extensions' : 'off' ,
138+ 'import/no-default-export' : 'off' ,
139+ 'import/no-unresolved' : 'off' ,
140+ 'import/prefer-default-export' : 'off' ,
121141 'lines-between-class-members' : 'off' ,
122142 'max-classes-per-file' : 'off' ,
123143 'no-bitwise' : 'off' ,
0 commit comments