From 105c098f3cece8b83ab8d1566b8ea41dd94a60b9 Mon Sep 17 00:00:00 2001 From: Chiawen Chen Date: Sun, 21 Jul 2019 10:05:09 +0800 Subject: [PATCH] Docs: update docs for object-curly-spacing (fixes #11634) (#12009) --- docs/rules/object-curly-newline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/object-curly-newline.md b/docs/rules/object-curly-newline.md index 657e4586fa1..4e1cce7043a 100644 --- a/docs/rules/object-curly-newline.md +++ b/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)