Skip to content

Commit

Permalink
Docs: update docs for object-curly-spacing (fixes #11634) (#12009)
Browse files Browse the repository at this point in the history
  • Loading branch information
golopot authored and platinumazure committed Jul 21, 2019
1 parent c90a12c commit 105c098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/object-curly-newline.md
Expand Up @@ -15,7 +15,7 @@ This rule has either a string option:

Or an object option:

* `"multiline": true` requires line breaks if there are line breaks inside properties or between properties
* `"multiline": true` requires line breaks if there are line breaks inside properties or between properties. Otherwise, it disallows line breaks.
* `"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`
* `"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)

Expand Down

0 comments on commit 105c098

Please sign in to comment.