@@ -37,6 +37,7 @@ export default {
37
37
"import/parsers" : {
38
38
"@typescript-eslint/parser" : [ ".js" , ".jsx" , ".ts" , ".tsx" ] ,
39
39
} ,
40
+ "import/resolver" : "typescript" ,
40
41
"react" : { // used by eslint-plugin-react
41
42
version : "19" ,
42
43
} ,
@@ -56,22 +57,6 @@ export default {
56
57
"!.storybook" ,
57
58
] ,
58
59
"overrides" : [
59
- {
60
- files : [ "**/*.ts" ] ,
61
- rules : {
62
- "no-array-constructor" : [ 0 ] ,
63
- "no-implied-eval" : [ 0 ] ,
64
- "no-redeclare" : [ 0 ] , // for overloads
65
- "no-unused-vars" : [ 0 ] ,
66
- "no-use-before-define" : [ 0 ] ,
67
- "require-await" : [ 0 ] ,
68
- } ,
69
- settings : {
70
- "import/resolver" : {
71
- "typescript" : true ,
72
- } ,
73
- }
74
- } ,
75
60
{
76
61
files : [ "**/*.d.ts" ] ,
77
62
rules : {
@@ -588,7 +573,7 @@ export default {
588
573
"multiline-comment-style" : [ 0 ] ,
589
574
"new-cap" : [ 0 ] ,
590
575
"no-alert" : [ 0 ] ,
591
- "no-array-constructor" : [ 2 ] ,
576
+ "no-array-constructor" : [ 0 ] ,
592
577
"no-async-promise-executor" : [ 0 ] ,
593
578
"no-await-in-loop" : [ 0 ] ,
594
579
"no-bitwise" : [ 0 ] ,
@@ -632,7 +617,7 @@ export default {
632
617
"no-global-assign" : [ 2 ] ,
633
618
"no-implicit-coercion" : [ 2 ] ,
634
619
"no-implicit-globals" : [ 0 ] ,
635
- "no-implied-eval" : [ 2 ] ,
620
+ "no-implied-eval" : [ 0 ] ,
636
621
"no-import-assign" : [ 2 ] ,
637
622
"no-inline-comments" : [ 0 ] ,
638
623
"no-inner-declarations" : [ 2 ] ,
@@ -667,7 +652,7 @@ export default {
667
652
"no-promise-executor-return" : [ 0 ] ,
668
653
"no-proto" : [ 2 ] ,
669
654
"no-prototype-builtins" : [ 2 ] ,
670
- "no-redeclare" : [ 2 ] ,
655
+ "no-redeclare" : [ 0 ] ,
671
656
"no-regex-spaces" : [ 2 ] ,
672
657
"no-restricted-exports" : [ 0 ] ,
673
658
"no-restricted-globals" : [ 2 , ...restrictedGlobals ] ,
@@ -702,8 +687,8 @@ export default {
702
687
"no-unused-expressions" : [ 2 ] ,
703
688
"no-unused-labels" : [ 2 ] ,
704
689
"no-unused-private-class-members" : [ 2 ] ,
705
- "no-unused-vars" : [ 2 , { "vars" : "all" , "args" : "all" , "caughtErrors" : "all" , "ignoreRestSiblings" : false , "argsIgnorePattern" : "^_" , "varsIgnorePattern" : "^_[^_]*$" , "caughtErrorsIgnorePattern" : "^_" , "destructuredArrayIgnorePattern" : "^_" } ] ,
706
- "no-use-before-define" : [ 2 , { "functions" : false , "classes" : true , "variables" : true , "allowNamedExports" : true } ] ,
690
+ "no-unused-vars" : [ 0 ] ,
691
+ "no-use-before-define" : [ 0 ] ,
707
692
"no-useless-backreference" : [ 2 ] ,
708
693
"no-useless-call" : [ 2 ] ,
709
694
"no-useless-catch" : [ 2 ] ,
0 commit comments