File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
packages/configs/eslint/src Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -74,12 +74,13 @@ export const vitestGlobals: VitestGlobals = {
7474export const reduxESLintConfig : TSESLint . FlatConfig . Config [ ] = config (
7575 // `ignores` must be first.
7676 // config with just `ignores` is the replacement for `.eslintignore`
77- { ignores : [ '**/dist/' , '.* /'] } ,
78- js . configs . recommended ,
77+ { name : ' ignores' , ignores : [ '**/dist/' ] } ,
78+ { name : 'javascript' , ... js . configs . recommended } ,
7979 ...configs . recommended ,
8080 ...configs . stylistic ,
81- prettierConfig ,
81+ { name : 'prettier-config' , ... prettierConfig } ,
8282 {
83+ name : 'main' ,
8384 languageOptions : {
8485 globals : {
8586 ...vitestGlobals ,
@@ -131,7 +132,7 @@ export const reduxESLintConfig: TSESLint.FlatConfig.Config[] = config(
131132 linterOptions : { reportUnusedDisableDirectives : 2 } ,
132133 } ,
133134 {
134- files : [ '**/*.cjs' ] ,
135+ name : 'commonjs' ,
135136 languageOptions : { sourceType : 'commonjs' } ,
136137 rules : {
137138 '@typescript-eslint/no-var-requires' : [ 0 ] ,
You can’t perform that action at this time.
0 commit comments