summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 22:51:19 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 22:51:19 +0300
commit649ad0f879ac873bec652b2c71dc0fe27e787920 (patch)
treebdf5bd089c719f4e60e36e0936569f41d242ff7d /src/rules
parent320dab004aa7fb166b73329a11872f8935135e4e (diff)
downloadeslint-config-649ad0f879ac873bec652b2c71dc0fe27e787920.tar.xz
eslint-config-649ad0f879ac873bec652b2c71dc0fe27e787920.zip
feat(eslint): Rule "object-property-newline"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/default.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json
index 7a6f64b..249b189 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -285,6 +285,12 @@
"objectsInObjects": false
}
],
+ "object-property-newline": [
+ "error",
+ {
+ "allowAllPropertiesOnSameLine": false
+ }
+ ],
"one-var": [
"error",
"never"