From cbb20b1dfd7485fca19887b8bbd698697d4e463a Mon Sep 17 00:00:00 2001 From: Bryan Mishkin <698306+bmish@users.noreply.github.com> Date: Sun, 21 Aug 2022 13:30:23 -0400 Subject: [PATCH] [Docs] Remove duplicate fixable notice --- docs/rules/jsx-curly-brace-presence.md | 2 -- docs/rules/jsx-no-useless-fragment.md | 2 -- 2 files changed, 4 deletions(-) diff --git a/docs/rules/jsx-curly-brace-presence.md b/docs/rules/jsx-curly-brace-presence.md index b4d7bff0aa..14344fcee0 100644 --- a/docs/rules/jsx-curly-brace-presence.md +++ b/docs/rules/jsx-curly-brace-presence.md @@ -6,8 +6,6 @@ This rule allows you to enforce curly braces or disallow unnecessary curly brace For situations where JSX expressions are unnecessary, please refer to [the React doc](https://facebook.github.io/react/docs/jsx-in-depth.html) and [this page about JSX gotchas](https://github.com/facebook/react/blob/v15.4.0-rc.3/docs/docs/02.3-jsx-gotchas.md#html-entities). -**Fixable:** This rule is automatically fixable using the `--fix` flag on the command line - ## Rule Details By default, this rule will check for and warn about unnecessary curly braces in both JSX props and children. For the sake of backwards compatibility, prop values that are JSX elements are not considered by default. diff --git a/docs/rules/jsx-no-useless-fragment.md b/docs/rules/jsx-no-useless-fragment.md index 76ef1a31ce..987efde561 100644 --- a/docs/rules/jsx-no-useless-fragment.md +++ b/docs/rules/jsx-no-useless-fragment.md @@ -4,8 +4,6 @@ A fragment is redundant if it contains only one child, or if it is the child of a html element, and is not a [keyed fragment](https://reactjs.org/docs/fragments.html#keyed-fragments). -**Fixable:** This rule is sometimes automatically fixable using the `--fix` flag on the command line. - ## Rule Details Examples of **incorrect** code for this rule: