aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/vue/default.json8
2 files changed, 9 insertions, 1 deletions
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",