diff --git a/CHANGELOG.md b/CHANGELOG.md index 03110e747e..897b1c7c19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,10 +36,11 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange * [Refactor] [`jsx-closing-bracket-location`], [`jsx-no-bind`]: fix eslint issues ([#3351][] @caroline223) * [Tests] [`function-component-definition`]: add passing test cases ([#3355][] @TildaDares) * [Docs] [`jsx-no-target-blank`]: Fix link to link-type-noreferrer ([#3319][] @Luccasoli) -* [Docs] document which rules provide suggestions ([#3359][] @bmish) +* [Docs] document which rules provide suggestions ([#3359][], [#3365][] @bmish) * [Docs] Consistent rule descriptions and doc sections ([#3361][] @bmish) * [Docs] Standardize deprecated rule notice ([#3364][] @bmish) +[#3365]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3365 [#3364]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3364 [#3361]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3361 [#3359]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3359 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: