workflow: temporarily disable no-unused-vars eslint rule for arguments
This commit is contained in:
parent
3810de7d6b
commit
bad0ecb910
@ -11,7 +11,7 @@ module.exports = {
|
|||||||
'error',
|
'error',
|
||||||
// we are only using this rule to check for unused arguments since TS
|
// we are only using this rule to check for unused arguments since TS
|
||||||
// catches unused variables but not args.
|
// catches unused variables but not args.
|
||||||
{ varsIgnorePattern: '.*', args: 'after-used', argsIgnorePattern: '^_' }
|
{ varsIgnorePattern: '.*', args: 'none' }
|
||||||
],
|
],
|
||||||
// most of the codebase are expected to be env agnostic
|
// most of the codebase are expected to be env agnostic
|
||||||
'no-restricted-globals': ['error', ...DOMGlobals, ...NodeGlobals],
|
'no-restricted-globals': ['error', ...DOMGlobals, ...NodeGlobals],
|
||||||
|
Loading…
Reference in New Issue
Block a user