diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-19 13:18:28 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-19 13:18:28 +0300 |
commit | 79d28d317b260bc201c17a39cc3bcd0b6ea33871 (patch) | |
tree | c2ce94082d49d0ba3a1e77b385a2a42707dbcb76 | |
parent | 50fd33ae97f5614d1ee3c5c7aa87238cb0813039 (diff) | |
download | eslint-config-79d28d317b260bc201c17a39cc3bcd0b6ea33871.tar.xz eslint-config-79d28d317b260bc201c17a39cc3bcd0b6ea33871.zip |
feat(vue): object-curly-spacing
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/vue/default.json | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -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", |