Skip to content

Commit 472303c

Browse files
committed
Fix(eslint-config-base): Allow mjs and cjs extension for ESlint config
1 parent 0ebe6f2 commit 472303c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/eslint-config-base/rules/imports.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ module.exports = {
4343
'**/gulpfile.{js,ts}', // gulp config
4444
'**/gulpfile.*.{js,ts}', // gulp config
4545
'**/Gruntfile{,.js}', // grunt config
46-
'**/.eslintrc.js', // eslint config
46+
'**/.eslintrc.{,m,c}js', // eslint config
4747
'**/.prettierrc.js', // prettier config
4848
'**/*.config.{js,ts}', // other config
4949
'**/*.config.*.js,ts}', // other config
5050
'**/*.conf.{js,ts}', // other conf
51-
'**/*.conf.*.js,ts}', // other conf
51+
'**/*.conf.*.{js,ts}', // other conf
5252
],
5353
optionalDependencies: false,
5454
},

0 commit comments

Comments
 (0)