From b4225e342471be0ca478f3220d4414184d7cfdb7 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 19 Feb 2020 15:02:53 +0400 Subject: feat(vue): comma-dangle Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/vue/default.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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", { -- cgit v1.2.3