From 79d28d317b260bc201c17a39cc3bcd0b6ea33871 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 19 Feb 2020 14:18:28 +0400 Subject: feat(vue): object-curly-spacing Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/vue/default.json | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index e9e4b0e..2220774 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -578,7 +578,7 @@ - [ ] "no-unused-vars" - [ ] "no-use-v-if-with-v-for" - [ ] "no-v-html" -- [ ] "object-curly-spacing" +- [X] "object-curly-spacing" - [ ] "order-in-components" - [ ] "prop-name-casing" - [ ] "require-component-is" diff --git a/src/rules/vue/default.json b/src/rules/vue/default.json index fa55110..f26ab8b 100644 --- a/src/rules/vue/default.json +++ b/src/rules/vue/default.json @@ -68,6 +68,14 @@ "singleline": 8 } ], + "vue/object-curly-spacing": [ + "error", + "always", + { + "arraysInObjects": false, + "objectsInObjects": false + } + ], "vue/script-indent": [ "error", "tab", -- cgit v1.2.3