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 e790c1a commit 6b9f6f6Copy full SHA for 6b9f6f6
.eslintrc.cjs
@@ -1,3 +1,5 @@
1
+/* eslint-disable no-restricted-globals */
2
+
3
const DOMGlobals = ['window', 'document']
4
const NodeGlobals = ['module', 'require']
5
@@ -68,7 +70,7 @@ module.exports = {
68
70
},
69
71
// JavaScript files
72
{
- files: ['*.js'],
73
+ files: ['*.js', '*.cjs'],
74
rules: {
75
// We only do `no-unused-vars` checks for js files, TS files are checked by TypeScript itself.
76
'no-unused-vars': ['error', { vars: 'all', args: 'none' }]
0 commit comments