Skip to content

Commit 79673fd

Browse files
committed
Fix ESLint config for CJS files
1 parent 82dd7a6 commit 79673fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ export const reduxESLintConfig: TSESLint.FlatConfig.Config[] = config(
133133
},
134134
{
135135
name: 'commonjs',
136+
files: ['**/*.c[jt]s'],
136137
languageOptions: { sourceType: 'commonjs' },
137138
rules: {
138139
'@typescript-eslint/no-var-requires': [0],

0 commit comments

Comments
 (0)