Skip to content
Permalink
Browse files

Docs: update docs for object-curly-spacing (fixes #11634) (#12009)

  • Loading branch information...
golopot authored and platinumazure committed Jul 21, 2019
1 parent c90a12c commit 105c098f3cece8b83ab8d1566b8ea41dd94a60b9
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/rules/object-curly-newline.md
@@ -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)

0 comments on commit 105c098

Please sign in to comment.
You can’t perform that action at this time.