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 = {
74
74
export const reduxESLintConfig : TSESLint . FlatConfig . Config [ ] = config (
75
75
// `ignores` must be first.
76
76
// 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 } ,
79
79
...configs . recommended ,
80
80
...configs . stylistic ,
81
- prettierConfig ,
81
+ { name : 'prettier-config' , ... prettierConfig } ,
82
82
{
83
+ name : 'main' ,
83
84
languageOptions : {
84
85
globals : {
85
86
...vitestGlobals ,
@@ -131,7 +132,7 @@ export const reduxESLintConfig: TSESLint.FlatConfig.Config[] = config(
131
132
linterOptions : { reportUnusedDisableDirectives : 2 } ,
132
133
} ,
133
134
{
134
- files : [ '**/*.cjs' ] ,
135
+ name : 'commonjs' ,
135
136
languageOptions : { sourceType : 'commonjs' } ,
136
137
rules : {
137
138
'@typescript-eslint/no-var-requires' : [ 0 ] ,
You can’t perform that action at this time.
0 commit comments