Skip to content

Commit d241fd9

Browse files
committed
Switch to typescript-eslint v8 syntax
1 parent ec3a2e8 commit d241fd9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/configs/eslint/src/eslint.config.mts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff 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 },

0 commit comments

Comments
 (0)