]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
workflow: temporarily disable no-unused-vars eslint rule for arguments
authorEvan You <yyx990803@gmail.com>
Wed, 16 Sep 2020 14:53:02 +0000 (10:53 -0400)
committerEvan You <yyx990803@gmail.com>
Wed, 16 Sep 2020 14:53:02 +0000 (10:53 -0400)
.eslintrc.js

index caa5c7213ca95ba6f64651e48da1f64d43463988..98f42a74b9a168d05d4ec44445fd9d05a19534e5 100644 (file)
@@ -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],