Skip to content

Commit

Permalink
Allow underscore variable to be unused
Browse files Browse the repository at this point in the history
  • Loading branch information
garraflavatra committed Jul 25, 2024
1 parent 3931d47 commit 473a541
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion configs/generic.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ const generic = {
ignoreRegExpLiterals: true,
},
],
'no-unused-vars': 'warn',
'no-unused-vars': [
'warn',
{ varsIgnorePattern: '\\_' },
],
'no-alert': 'error',
'no-caller': 'error',
'no-confusing-arrow': [
Expand Down

0 comments on commit 473a541

Please sign in to comment.