File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
packages/configs/eslint/src Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,10 @@ export const reduxESLintConfig: TSESLint.FlatConfig.Config[] = config(
90
90
} ,
91
91
parser,
92
92
parserOptions : {
93
+ projectService : {
94
+ allowDefaultProject : [ './*.?(m|c)[tj]s?(x)' ] ,
95
+ defaultProject : './tsconfig.json' ,
96
+ } ,
93
97
project : [ './tsconfig.json' ] ,
94
98
ecmaVersion : 'latest' ,
95
99
} ,
@@ -110,7 +114,10 @@ export const reduxESLintConfig: TSESLint.FlatConfig.Config[] = config(
110
114
{ allowSingleExtends : true } ,
111
115
] ,
112
116
'@typescript-eslint/no-unsafe-argument' : [ 0 ] ,
113
- '@typescript-eslint/ban-types' : [ 2 ] ,
117
+ '@typescript-eslint/no-restricted-types' : [ 2 ] ,
118
+ '@typescript-eslint/no-empty-object-type' : [ 2 ] ,
119
+ '@typescript-eslint/no-unsafe-function-type' : [ 2 ] ,
120
+ '@typescript-eslint/no-wrapper-object-types' : [ 2 ] ,
114
121
'@typescript-eslint/no-namespace' : [
115
122
2 ,
116
123
{ allowDeclarations : true , allowDefinitionFiles : true } ,
You can’t perform that action at this time.
0 commit comments