Skip to content

Commit

Permalink
workflow: temporarily disable no-unused-vars eslint rule for arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Sep 16, 2020
1 parent 3810de7 commit bad0ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
'error',
// we are only using this rule to check for unused arguments since TS
// catches unused variables but not args.
{ varsIgnorePattern: '.*', args: 'after-used', argsIgnorePattern: '^_' }
{ varsIgnorePattern: '.*', args: 'none' }
],
// most of the codebase are expected to be env agnostic
'no-restricted-globals': ['error', ...DOMGlobals, ...NodeGlobals],
Expand Down

0 comments on commit bad0ecb

Please sign in to comment.