From 746e486c1bce4dc8897a1a66f190aaaff1d4ba09 Mon Sep 17 00:00:00 2001 From: armin Date: Tue, 2 Feb 2021 21:21:22 +0330 Subject: [PATCH] Docs: Clarify line breaks in object-curly-newline (refs #14024) --- docs/rules/object-curly-newline.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/rules/object-curly-newline.md b/docs/rules/object-curly-newline.md index 302c81c33b5..da30baf2d6e 100644 --- a/docs/rules/object-curly-newline.md +++ b/docs/rules/object-curly-newline.md @@ -1,10 +1,10 @@ -# enforce consistent line breaks inside braces (object-curly-newline) +# enforce consistent line breaks after opening and before closing braces (object-curly-newline) A number of style guides require or disallow line breaks inside of object braces and other tokens. ## Rule Details -This rule enforces consistent line breaks inside braces of object literals or destructuring assignments. +This rule enforces consistent line breaks after opening and before closing braces of object literals or destructuring assignments. ## Options @@ -538,7 +538,7 @@ export { foo as f, bar } from 'foo-bar'; ## When Not To Use It -If you don't want to enforce consistent line breaks inside braces, then it's safe to disable this rule. +If you don't want to enforce consistent line breaks after opening and before closing braces, then it's safe to disable this rule. ## Related Rules