summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 14:31:49 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 14:31:49 +0300
commit053bd64fa474f8d390631543c41b936b78354172 (patch)
treecdaf8da8178fa56c2887adeafaa843c43f324e7d /src/rules
parent2ffee5d7a351385e21bc73cf1780f1362f7d66bb (diff)
downloadeslint-config-053bd64fa474f8d390631543c41b936b78354172.tar.xz
eslint-config-053bd64fa474f8d390631543c41b936b78354172.zip
feat(eslint): Rule "object-curly-spacing"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/eslint.json8
1 files changed, 8 insertions, 0 deletions
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"