We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34399fc commit 69c2e17Copy full SHA for 69c2e17
1 file changed
eslint.config.mjs
@@ -85,10 +85,9 @@ export default [
85
js.configs.recommended,
86
jsdoc.configs['flat/recommended'],
87
{
88
- files: ['**/*.{js,cjs}'],
+ files: ['**/*.js'],
89
languageOptions: {
90
- // The default is `commonjs` but it's not supported by the Babel parser.
91
- sourceType: 'script',
+ sourceType: 'commonjs',
92
},
93
94
@@ -256,6 +255,8 @@ export default [
256
255
257
// ESLint recommended rules that we disable.
258
'no-inner-declarations': 'off',
+ 'no-shadow-restricted-names': 'off',
259
+ 'no-useless-assignment': 'off',
260
261
// JSDoc rules.
262
'jsdoc/require-jsdoc': 'off',
0 commit comments