Skip to content

Commit

Permalink
Support underscore as a placeholder variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasrq committed Nov 29, 2022
1 parent 12eb361 commit 9c807fd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configs/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ module.exports = {
SwitchCase: 1,
MemberExpression: 1,
}],
'@typescript-eslint/no-unused-vars': ['error', {
'vars': 'all',
'args': 'after-used',
'varsIgnorePattern': '^_',
'argsIgnorePattern': '^_',
}],
'@typescript-eslint/member-delimiter-style': ['error', {
multiline: {
delimiter: 'comma',
Expand Down

0 comments on commit 9c807fd

Please sign in to comment.