Skip to content

Commit 4e83bea

Browse files
committed
Readme update
s/utilise/utilize & simple warning
1 parent 5e144a1 commit 4e83bea

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

docs/rules/jsx-first-prop-new-line.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Ensure correct position of the first property.
44

5-
**Fixable:** This rule is automatically fixable using the `--fix` flag on the command line.
5+
**Fixable:** This rule is automatically fixable using the `--fix` flag on the command line. However, fix does not include indentation. Please rerun lint to correct those errors.
66

77
## Rule Details
88

@@ -12,12 +12,6 @@ This rule checks whether the first property of all JSX elements is correctly pla
1212
* `multiline`: The first property should always be placed on a new line when the JSX tag takes up multiple lines.
1313
* `multiline-multiprop`: The first property should always be placed on a new line if the JSX tag takes up multiple lines and there are multiple properties.
1414

15-
In order to utilise autofix, please specify the indentation style as an additional argument in your configuration:
16-
17-
```json
18-
"jsx-first-prop-new-line": ["always", 2]
19-
```
20-
2115
The following patterns are considered warnings when configured `"always"`:
2216

2317
```jsx

0 commit comments

Comments
 (0)