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(
9090 } ,
9191 parser,
9292 parserOptions : {
93+ projectService : {
94+ allowDefaultProject : [ './*.?(m|c)[tj]s?(x)' ] ,
95+ defaultProject : './tsconfig.json' ,
96+ } ,
9397 project : [ './tsconfig.json' ] ,
9498 ecmaVersion : 'latest' ,
9599 } ,
@@ -110,7 +114,10 @@ export const reduxESLintConfig: TSESLint.FlatConfig.Config[] = config(
110114 { allowSingleExtends : true } ,
111115 ] ,
112116 '@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 ] ,
114121 '@typescript-eslint/no-namespace' : [
115122 2 ,
116123 { allowDeclarations : true , allowDefinitionFiles : true } ,
You can’t perform that action at this time.
0 commit comments