From: Evan You Date: Wed, 16 Sep 2020 14:53:02 +0000 (-0400) Subject: workflow: temporarily disable no-unused-vars eslint rule for arguments X-Git-Tag: v3.0.0-rc.12~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bad0ecb9106dbf7186a45ee5369518b857534ab8;p=thirdparty%2Fvuejs%2Fcore.git workflow: temporarily disable no-unused-vars eslint rule for arguments --- diff --git a/.eslintrc.js b/.eslintrc.js index caa5c7213c..98f42a74b9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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],