diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -224,7 +224,7 @@ - [ ] "nonblock-statement-body-position" - [X] "object-curly-newline" - [X] "object-curly-spacing" -- [ ] "object-property-newline" +- [X] "object-property-newline" - [ ] "object-shorthand" - [X] "one-var" - [ ] "one-var-declaration-per-line" 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" |