aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json8
2 files changed, 9 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 62aafbe..318e65d 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -223,7 +223,7 @@
- [ ] "no-with"
- [ ] "nonblock-statement-body-position"
- [ ] "object-curly-newline"
-- [ ] "object-curly-spacing"
+- [X] "object-curly-spacing"
- [ ] "object-property-newline"
- [ ] "object-shorthand"
- [X] "one-var"
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index d512ede..500c670 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -64,6 +64,14 @@
"allowIndentationTabs": true
}
],
+ "object-curly-spacing": [
+ "error",
+ "always",
+ {
+ "arraysInObjects": false,
+ "objectsInObjects": false
+ }
+ ],
"one-var": [
"error",
"never"