Skip to content

Commit

Permalink
chore(eslint): allow unused vars with _ prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
hasparus committed Jul 5, 2021
1 parent ac8b531 commit 497099b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,12 @@ module.exports = {
'no-use-before-define': 'off',
'react/react-in-jsx-scope': 'off',
'@typescript-eslint/no-redeclare': 'off',
'@typescript-eslint/no-unused-vars': [
'warn',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
},
],
},
}

0 comments on commit 497099b

Please sign in to comment.