Skip to content

Commit

Permalink
no-unused-vars: Allow ignoring variables by prefixing with underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 21, 2023
1 parent 9809e67 commit b31ab8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -239,6 +239,7 @@ module.exports = {
'error',
{
vars: 'all',
varsIgnorePattern: /^_/.source,
args: 'after-used',
ignoreRestSiblings: true,
argsIgnorePattern: /^_/.source,
Expand Down

0 comments on commit b31ab8a

Please sign in to comment.