Skip to content

Commit

Permalink
Allow naming unused variables with the no-unused-vars
Browse files Browse the repository at this point in the history
Fixes #64
  • Loading branch information
sindresorhus committed Jun 30, 2020
1 parent 7f0ac39 commit a5832e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ module.exports = {
vars: 'all',
args: 'after-used',
ignoreRestSiblings: true,
argsIgnorePattern: /^_$/.source,
argsIgnorePattern: /^_/.source,
caughtErrors: 'all',
caughtErrorsIgnorePattern: /^_$/.source
}
Expand Down

0 comments on commit a5832e2

Please sign in to comment.