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 655886f commit 5bcb840Copy full SHA for 5bcb840
packages/eslint-config-airbnb-base/rules/variables.js
@@ -34,7 +34,7 @@ module.exports = {
34
'no-undefined': 'off',
35
36
// disallow declaration of variables that are not used in the code
37
- 'no-unused-vars': ['error', { vars: 'local', args: 'after-used', ignoreRestSiblings: true }],
+ 'no-unused-vars': ['error', { vars: 'all', args: 'after-used', ignoreRestSiblings: true }],
38
39
// disallow use of variables before they are defined
40
'no-use-before-define': ['error', { functions: true, classes: true, variables: true }],
0 commit comments