Skip to content

Commit 105c098

Browse files
chiawendtplatinumazure
authored andcommitted
Docs: update docs for object-curly-spacing (fixes #11634) (#12009)
1 parent c90a12c commit 105c098

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/rules/object-curly-newline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This rule has either a string option:
1515

1616
Or an object option:
1717

18-
* `"multiline": true` requires line breaks if there are line breaks inside properties or between properties
18+
* `"multiline": true` requires line breaks if there are line breaks inside properties or between properties. Otherwise, it disallows line breaks.
1919
* `"minProperties"` requires line breaks if the number of properties is at least the given integer. By default, an error will also be reported if an object contains linebreaks and has fewer properties than the given integer. However, the second behavior is disabled if the `consistent` option is set to `true`
2020
* `"consistent": true` (default) requires that either both curly braces, or neither, directly enclose newlines. Note that enabling this option will also change the behavior of the `minProperties` option. (See `minProperties` above for more information)
2121

0 commit comments

Comments
 (0)