From 1d73fdaf96aacbfeafea8f756a84642e9bb5ce6a Mon Sep 17 00:00:00 2001 From: IWANABETHATGUY <974153916@qq.com> Date: Sun, 8 Mar 2020 11:40:48 +0800 Subject: [PATCH 1/4] feat: add fixable, no more error when unused variable with prefix _ implement proposal https://github.com/vuejs/eslint-plugin-vue/issues/1058 feat https://github.com/vuejs/eslint-plugin-vue/issues/1058 --- docs/rules/README.md | 2 +- docs/rules/no-unused-vars.md | 3 ++- lib/rules/no-unused-vars.js | 9 ++++--- tests/lib/rules/no-unused-vars.js | 41 ++++++++++++++++++++++--------- 4 files changed, 39 insertions(+), 16 deletions(-) diff --git a/docs/rules/README.md b/docs/rules/README.md index ab1f5b220..308a10de0 100644 --- a/docs/rules/README.md +++ b/docs/rules/README.md @@ -48,7 +48,7 @@ Enforce all the rules in this category, as well as all higher priority rules, wi | [vue/no-template-key](./no-template-key.md) | disallow `key` attribute on `