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 4388d9b commit f23f470Copy full SHA for f23f470
rules/base.js
@@ -126,7 +126,7 @@ module.exports = {
126
'no-undef': 1, // disallow the use of undeclared variables unless mentioned in `/*global */` comments
127
'no-undef-init': 0, // disallow initializing variables to `undefined`
128
'no-undefined': 0, // disallow the use of `undefined` as an identifier
129
- 'no-unused-vars': [1, {argsIgnorePattern: 'next'}], // disallow unused variables
+ 'no-unused-vars': [1, {argsIgnorePattern: '^(next|_)$'}], // disallow unused variables
130
'no-use-before-define': [1, 'nofunc'], // disallow the use of variables before they are defined
131
132
// Node.js and CommonJS
0 commit comments