You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/rules/jsx-tag-spacing.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ Examples of **correct** code for this rule, when configured with `{ "closingSlas
62
62
63
63
### `beforeSelfClosing`
64
64
65
-
This check can be set to `"always"`, `"never"`, `"multiline-always"`, or `"allow"` (to disable it).
65
+
This check can be set to `"always"`, `"never"`, `"proportional-always"`, or `"allow"` (to disable it).
66
66
67
67
If it is `"always"`, the check warns whenever a space is missing before the closing bracket. If `"never"` then it warns if a space is present before the closing bracket. The default value of this check is `"always"`.
68
68
@@ -102,7 +102,7 @@ Examples of **correct** code for this rule, when configured with `{ "beforeSelfC
102
102
/>
103
103
```
104
104
105
-
Examples of **incorrect** code for this rule, when configured with `{ "beforeSelfClosing": "multiline-always" }`:
105
+
Examples of **incorrect** code for this rule, when configured with `{ "beforeSelfClosing": "proportional-always" }`:
106
106
107
107
```jsx
108
108
<Hello
@@ -113,7 +113,7 @@ Examples of **incorrect** code for this rule, when configured with `{ "beforeSel
113
113
lastName="Smith"/>
114
114
```
115
115
116
-
Examples of **correct** code for this rule, when configured with `{ "beforeSelfClosing": "multiline-always" }`:
116
+
Examples of **correct** code for this rule, when configured with `{ "beforeSelfClosing": "proportional-always" }`:
117
117
118
118
```jsx
119
119
<Hello
@@ -199,7 +199,7 @@ Examples of **correct** code for this rule, when configured with `{ "afterOpenin
199
199
200
200
### `beforeClosing`
201
201
202
-
This check can be set to `"always"`, `"never"`, `"multiline-always"`, or `"allow"` (to disable it).
202
+
This check can be set to `"always"`, `"never"`, `"proportional-always"`, or `"allow"` (to disable it).
203
203
204
204
If it is `"always"` the check warns whenever whitespace is missing before the closing bracket of a JSX opening element or whenever a space is missing before the closing bracket closing element. If `"never"`, then it warns if a space is present before the closing bracket of either a JSX opening element or closing element. This rule will never warn for self closing JSX elements. The default value of this check is `"allow"`.
205
205
@@ -239,7 +239,7 @@ Examples of **correct** code for this rule, when configured with `{ "beforeClosi
239
239
</Hello>
240
240
```
241
241
242
-
Examples of **incorrect** code for this rule, when configured with `{ "beforeClosing": "multiline-always" }`:
242
+
Examples of **incorrect** code for this rule, when configured with `{ "beforeClosing": "proportional-always" }`:
243
243
244
244
```jsx
245
245
<Hello
@@ -253,7 +253,7 @@ Examples of **incorrect** code for this rule, when configured with `{ "beforeClo
253
253
</Hello>
254
254
```
255
255
256
-
Examples of **correct** code for this rule, when configured with `{ "beforeClosing": "multiline-always" }`:
256
+
Examples of **correct** code for this rule, when configured with `{ "beforeClosing": "proportional-always" }`:
0 commit comments