From ea6b8c8bebf34eeee4b85eed441be194265153f3 Mon Sep 17 00:00:00 2001 From: Chiawen Chen Date: Sun, 13 Oct 2019 19:55:35 +0800 Subject: [PATCH] [Docs]: indent rules are no longer needed with newer eslint --- docs/rules/jsx-indent-props.md | 2 ++ docs/rules/jsx-indent.md | 2 ++ docs/rules/jsx-props-no-multi-spaces.md | 2 ++ 3 files changed, 6 insertions(+) diff --git a/docs/rules/jsx-indent-props.md b/docs/rules/jsx-indent-props.md index 22b021639f..9736909bd9 100644 --- a/docs/rules/jsx-indent-props.md +++ b/docs/rules/jsx-indent-props.md @@ -105,3 +105,5 @@ firstName="John" ## When not to use If you are not using JSX then you can disable this rule. + +If you have enabled the core rule `indent` with eslint >= 4, you don't need this rule. diff --git a/docs/rules/jsx-indent.md b/docs/rules/jsx-indent.md index 85351347b6..01c99c3376 100644 --- a/docs/rules/jsx-indent.md +++ b/docs/rules/jsx-indent.md @@ -111,3 +111,5 @@ The following patterns are **not** warnings: ## When not to use If you are not using JSX then you can disable this rule. + +If you have enabled the core rule `indent` with eslint >= 3, you don't need this rule. diff --git a/docs/rules/jsx-props-no-multi-spaces.md b/docs/rules/jsx-props-no-multi-spaces.md index c1b02dec45..933e3cb5d9 100644 --- a/docs/rules/jsx-props-no-multi-spaces.md +++ b/docs/rules/jsx-props-no-multi-spaces.md @@ -29,3 +29,5 @@ The following patterns are **not** considered warnings: ## When Not To Use It If you are not using JSX or don't care about the space between two props in the same line. + +If you have enabled the core rule `no-multi-spaces` with eslint >= 3, you don't need this rule.