aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-19 14:02:53 +0300
committerValentin Popov <info@valentineus.link>2020-02-19 14:02:53 +0300
commitb4225e342471be0ca478f3220d4414184d7cfdb7 (patch)
tree42a7dbc4bafea4db06af6cfc7862ac6d12fedd9d
parentdfac7f513816657c89b512fead190607129695e9 (diff)
downloadeslint-config-b4225e342471be0ca478f3220d4414184d7cfdb7.tar.xz
eslint-config-b4225e342471be0ca478f3220d4414184d7cfdb7.zip
feat(vue): comma-dangle
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/vue/default.json4
2 files changed, 5 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index b4a1796..db959fa 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -529,7 +529,7 @@
- [ ] "block-spacing"
- [ ] "brace-style"
- [ ] "camelcase"
-- [ ] "comma-dangle"
+- [X] "comma-dangle"
- [ ] "comment-directive"
- [ ] "component-definition-name-casing"
- [ ] "component-name-in-template-casing"
diff --git a/src/rules/vue/default.json b/src/rules/vue/default.json
index 5371734..d0097a1 100644
--- a/src/rules/vue/default.json
+++ b/src/rules/vue/default.json
@@ -17,6 +17,10 @@
]
}
],
+ "vue/comma-dangle": [
+ "error",
+ "always-multiline"
+ ],
"vue/html-closing-bracket-newline": [
"error",
{