Skip to content

Commit

Permalink
Apply suggestions: change "around" to "inside"
Browse files Browse the repository at this point in the history
Co-Authored-By: Jordan Harband <ljharb@gmail.com>
  • Loading branch information
golopot and ljharb committed May 13, 2019
1 parent 9266330 commit 806ff3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/rules/jsx-curly-newline.md
Expand Up @@ -22,9 +22,9 @@ Option `multiline` takes effect when the jsx expression inside the curlies occup

Option `singleline` takes effect when the jsx expression inside the curlies occupies a single line.

* `consistent` enforces either both of linebreaks around curlies are present, or none are present.
* `forbid` disallows linebreaks around curlies.
* `require` enforces the presence of linebreaks aounrd curlies.
* `consistent` enforces either both curly braces have a line break directly inside them, or no line breaks are present.
* `forbid` disallows linebreaks directly inside curly braces.
* `require` enforces the presence of linebreaks directly inside curlies.

or a string option:

Expand Down Expand Up @@ -146,4 +146,4 @@ The following patterns are **not** warnings:

## When Not To Use It

You can turn this rule off if you are not concerned with the consistency around the linebreaks inside of JSX attributes or expressions.
You can turn this rule off if you are not concerned with the consistency of padding linebreaks inside of JSX attributes or expressions.

0 comments on commit 806ff3f

Please sign in to comment.