Skip to content

Commit ea6b8c8

Browse files
committed
[Docs]: indent rules are no longer needed with newer eslint
1 parent 0c1cb28 commit ea6b8c8

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

docs/rules/jsx-indent-props.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,5 @@ firstName="John"
105105
## When not to use
106106

107107
If you are not using JSX then you can disable this rule.
108+
109+
If you have enabled the core rule `indent` with eslint >= 4, you don't need this rule.

docs/rules/jsx-indent.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,5 @@ The following patterns are **not** warnings:
111111
## When not to use
112112
113113
If you are not using JSX then you can disable this rule.
114+
115+
If you have enabled the core rule `indent` with eslint >= 3, you don't need this rule.

docs/rules/jsx-props-no-multi-spaces.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ The following patterns are **not** considered warnings:
2929
## When Not To Use It
3030

3131
If you are not using JSX or don't care about the space between two props in the same line.
32+
33+
If you have enabled the core rule `no-multi-spaces` with eslint >= 3, you don't need this rule.

0 commit comments

Comments
 (0)