File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,28 @@ module.exports = {
99 sourceType : 'module' ,
1010 } ,
1111 rules : {
12- "@typescript-eslint/explicit-function-return-type" : "off" ,
13- }
12+ "@typescript-eslint/explicit-function-return-type" : 0 ,
13+
14+ } ,
15+ overrides : [
16+ {
17+ files : [ '*.ts' , '*.tsx' ] ,
18+ parser : '@typescript-eslint/parser' ,
19+ plugins : [ '@typescript-eslint' ] ,
20+ extends : [ 'plugin:@typescript-eslint/recommended' ] ,
21+ rules : {
22+ '@typescript-eslint/no-explicit-any' : 0 ,
23+ '@typescript-eslint/ban-types' : 0 ,
24+ '@typescript-eslint/consistent-type-imports' : 'error' ,
25+ '@typescript-eslint/explicit-module-boundary-types' : 0 ,
26+ '@typescript-eslint/no-empty-function' : 0 ,
27+ '@typescript-eslint/no-non-null-assertion' : 0 ,
28+ '@typescript-eslint/no-unused-vars' : [
29+ 'error' ,
30+ { vars : 'all' , args : 'after-used' , ignoreRestSiblings : true } ,
31+ ] ,
32+ '@typescript-eslint/ban-ts-comment' : 0 ,
33+ }
34+ } ,
35+ ]
1436} ;
You can’t perform that action at this time.
0 commit comments