aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-19 13:19:56 +0300
committerValentin Popov <info@valentineus.link>2020-02-19 13:19:56 +0300
commit5e92aa597af16273896bed9675ad59afff6d74d7 (patch)
tree592e788a62112cdf926cf1c51b8ab5baaf969e33
parent79d28d317b260bc201c17a39cc3bcd0b6ea33871 (diff)
downloadeslint-config-5e92aa597af16273896bed9675ad59afff6d74d7.tar.xz
eslint-config-5e92aa597af16273896bed9675ad59afff6d74d7.zip
feat(vue): no-unused-vars
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/vue/default.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 2220774..bd3dad9 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -575,7 +575,7 @@
- [ ] "no-textarea-mustache"
- [ ] "no-unsupported-features"
- [ ] "no-unused-components"
-- [ ] "no-unused-vars"
+- [X] "no-unused-vars"
- [ ] "no-use-v-if-with-v-for"
- [ ] "no-v-html"
- [X] "object-curly-spacing"
diff --git a/src/rules/vue/default.json b/src/rules/vue/default.json
index f26ab8b..5371734 100644
--- a/src/rules/vue/default.json
+++ b/src/rules/vue/default.json
@@ -68,6 +68,9 @@
"singleline": 8
}
],
+ "vue/no-unused-vars": [
+ "error"
+ ],
"vue/object-curly-spacing": [
"error",
"always",