Closed renovate[bot] closed 3 years ago
This PR contains the following updates:
7.17.0
7.24.0
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.
This PR contains the following updates:
7.17.0
->7.24.0
Release Notes
yannickcr/eslint-plugin-react
### [`v7.24.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7240---20210527) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.23.2...v7.24.0) ##### Added - component detection: add componentWrapperFunctions setting ([#2713][] @[@jzabala](https://togithub.com/jzabala) [@LandonSchropp](https://togithub.com/LandonSchropp)) - \[`no-unused-prop-types`]: add ignore option ([#2972][] [@grit96](https://togithub.com/grit96)) - version detection: support recursive processor virtual filename ([#2965][] [@JounQin](https://togithub.com/JounQin)) ##### Fixed - \[`jsx-handler-names`]: properly substitute value into message ([#2975][] [@G-Rath](https://togithub.com/G-Rath)) - \[`jsx-uses-vars`]: ignore namespaces ([#2985][] [@remcohaszing](https://togithub.com/remcohaszing)) - \[`jsx-no-undef`]: ignore namespaces ([#2986][] [@remcohaszing](https://togithub.com/remcohaszing)) - \[`jsx-child-element-spacing`]: Don't flag whitespace around `` tags ([#2989][] [@pascalpp](https://togithub.com/pascalpp)) ##### Changed - \[Docs] \[`jsx-newline`]: Fix minor spelling error on rule name ([#2974][] [@DennisSkoko](https://togithub.com/DennisSkoko)) - \[Refactor] \[`void-dom-elements-no-children`]: improve performance - \[readme] fix missing trailing commas ([#2980][] [@sugardon](https://togithub.com/sugardon)) - \[readme] fix broken anchor link ([#2982][] [@vzvu3k6k](https://togithub.com/vzvu3k6k)) - \[Docs] \[`jsx-child-element-spacing`]: fixes sentence which ends abruptly ([#2990][] [@pascalpp](https://togithub.com/pascalpp)) [7.24.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.23.2...v7.24.0 [#2990]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2990 [#2989]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2989 [#2986]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2986 [#2985]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2985 [#2982]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2982 [#2980]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2980 [#2977]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2977 [#2975]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2975 [#2974]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2974 [#2972]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2972 [#2965]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2965 [#2713]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2713 ### [`v7.23.2`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7232---20210408) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.23.1...v7.23.2) ##### Fixed - \[`jsx-max-depth`]: Prevent getting stuck in circular references ([#2957][] [@AriPerkkio](https://togithub.com/AriPerkkio)) - \[`jsx-no-target-blank`]: fix handling of `warnOnSpreadAttributes` being false ([#2953][] [@Nokel81](https://togithub.com/Nokel81)) - \[`forbid-dom-props`]: support `JSXNamespacedName` ([#2961][] [@mrtnzlml](https://togithub.com/mrtnzlml)) - \[`forbid-component-props`]: support `JSXNamespacedName` ([@ljharb](https://togithub.com/ljharb)) ##### Changed - Fix CHANGELOG.md ([#2950][] [@JounQin](https://togithub.com/JounQin)) [7.23.2]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.23.1...v7.23.2 [#2961]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2961 [#2953]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2953 [#2957]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2957 [#2950]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2950 ### [`v7.23.1`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7231---20210323) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.23.0...v7.23.1) ##### Fixed - version detection: support processor virtual filename ([#2949][] [@JounQin](https://togithub.com/JounQin)) [7.23.1]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.23.0...v7.23.1 [#2949]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2949 ### [`v7.23.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7230---20210322) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.22.0...v7.23.0) ##### Added - \[`jsx-no-target-blank`]: add fixer ([#2862][] [@Nokel81](https://togithub.com/Nokel81)) - \[`jsx-pascal-case`]: support minimatch `ignore` option ([#2906][] [@bcherny](https://togithub.com/bcherny)) - \[`jsx-pascal-case`]: support `allowNamespace` option ([#2917][] [@kev-y-huang](https://togithub.com/kev-y-huang)) - \[`jsx-newline`]: Add prevent option ([#2935][] [@jsphstls](https://togithub.com/jsphstls)) - \[`no-unstable-nested-components`]: Prevent creating unstable components inside components ([#2750][] [@AriPerkkio](https://togithub.com/AriPerkkio)) - added `jsx-runtime` config, for the modern JSX runtime transform ([@ljharb](https://togithub.com/ljharb)) ##### Fixed - \[`jsx-no-constructed-context-values`]: avoid a crash with `as X` TS code ([#2894][] [@ljharb](https://togithub.com/ljharb)) - \[`jsx-no-constructed-context-values`]: avoid a crash with boolean shorthand ([#2895][] [@ljharb](https://togithub.com/ljharb)) - \[`static-property-placement`]: do not report non-components ([#2893][] [@golopot](https://togithub.com/golopot)) - \[`no-array-index-key`]: support optional chaining ([#2897][] [@SyMind](https://togithub.com/SyMind)) - \[`no-typos`]: avoid a crash on bindingless `prop-types` import; add warning ([#2899][] [@ljharb](https://togithub.com/ljharb)) - \[`jsx-curly-brace-presence`]: ignore containers with comments ([#2900][] [@golopot](https://togithub.com/golopot)) - \[`destructuring-assignment`]: fix a false positive for local prop named `context` in SFC ([#2929][] [@SyMind](https://togithub.com/SyMind)) - \[`jsx-no-target-blank`]: Allow rel="noreferrer" when `allowReferrer` is true ([#2925][] [@edemaine](https://togithub.com/edemaine)) - \[`boolean-prop-naming`]: add check for typescript "boolean" type ([#2930][] [@vedadeepta](https://togithub.com/vedadeepta)) - version detection: Add tests that verify versioning works for sibling and child projects ([#2943][] [@jcrosetto](https://togithub.com/jcrosetto)) - \[`jsx-curly-newline`]: Update error messages ([#2933][] [@jbrower2](https://togithub.com/jbrower2)) ##### Changed - \[Docs] \[`jsx-no-constructed-context-values`]\[]: fix invalid example syntax ([#2910][] [@kud](https://togithub.com/kud)) - \[readme] Replace lists of rules with tables in readme ([#2908][] [@motato1](https://togithub.com/motato1)) - \[Docs] added missing curly braces ([#2923][] [@Muditxofficial](https://togithub.com/Muditxofficial)) [7.23.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.22.0...v7.23.0 [#2943]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2943 [#2935]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2935 [#2933]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2933 [#2930]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2930 [#2929]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2929 [#2925]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2925 [#2923]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2923 [#2917]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2917 [#2910]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2910 [#2908]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2908 [#2906]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2906 [#2900]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2900 [#2899]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2899 [#2897]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2897 [#2895]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2895 [#2894]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2894 [#2893]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2893 [#2862]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2862 [#2750]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2750 ### [`v7.22.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7220---20201229) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.5...v7.22.0) ##### Added - \[`jsx-key`]: added `checkKeyMustBeforeSpread` option for new jsx transform ([#2835][] [@morlay](https://togithub.com/morlay)) - \[`jsx-newline`]: add new rule ([#2693][] [@jzabala](https://togithub.com/jzabala)) - \[`jsx-no-constructed-context-values`]: add new rule which checks when the value passed to a Context Provider will cause needless rerenders ([#2763][] [@dylanOshima](https://togithub.com/dylanOshima)) - \[`jsx-indent-props`]: add `ignoreTernaryOperator` option ([#2846][] [@SebastianZimmer](https://togithub.com/SebastianZimmer)) - \[`jsx-no-target-blank`]: Add `warnOnSpreadAttributes` option ([#2855][] [@michael-yx-wu](https://togithub.com/michael-yx-wu)) ##### Fixed - \[`display-name`]/component detection: avoid a crash on anonymous components ([#2840][] [@ljharb](https://togithub.com/ljharb)) - \[`prop-types`]: function in class that returns a component causes false warning in typescript ([#2843][] [@SyMind](https://togithub.com/SyMind)) - \[`jsx-no-target-blank`]: avoid a crash with a non-string literal ([#2851][] [@ljharb](https://togithub.com/ljharb)) - \[`jsx-no-script-url`]: avoid crash with boolean `href` ([#2871][] [@ljharb](https://togithub.com/ljharb), [@AriPerkkio](https://togithub.com/AriPerkkio)) - \[`no-typos`]: avoid crash with computed method name ([#2870][] [@ljharb](https://togithub.com/ljharb), [@AriPerkkio](https://togithub.com/AriPerkkio)) - \[`jsx-max-depth`]: avoid crash with childless jsx child ([#2869][] [@ljharb](https://togithub.com/ljharb), [@AriPerkkio](https://togithub.com/AriPerkkio)) - \[`jsx-wrap-multilines`]: fix crash with `declaration`s that are on a new line after `=` ([#2875][] [@ljharb](https://togithub.com/ljharb)) - \[`no-unknown-property`]: avoid crash with prop named with Object.prototype key ([#2879][] [@ljharb](https://togithub.com/ljharb), [@AriPerkkio](https://togithub.com/AriPerkkio)) - \[`prop-types`]: default argument does not count as props-types declaration ([#2877][] [@golopot](https://togithub.com/golopot)) - \[`jsx-props-no-multi-spaces`]: fix a false positive for beside comments ([#2878][] [@golopot](https://togithub.com/golopot)) - \[`jsx-no-undef`]: handle the TS parser combined with an invalid ecmaVersion ([#2882][] [@ljharb](https://togithub.com/ljharb)) - \[`no-unused-prop-types`]: apply `skipShapeProps` to exact types ([#2883][] [@golopot](https://togithub.com/golopot)) - \[`no-danger-with-children`]/\[`style-prop-object`]/\[`no-adjacent-inline-elements`]: add category, URL ([#2891][] [@thofmann](https://togithub.com/thofmann)) ##### Docs - \[`no-unused-prop-types`]: Add new example to rule ([#2852][] [@thehereward](https://togithub.com/thehereward)) - \[`prop-types`]: fix example ([#2881][] [@technote-space](https://togithub.com/technote-space)) [7.22.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.5...v7.22.0 [#2891]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2891 [#2883]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2883 [#2882]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2882 [#2881]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2881 [#2879]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2879 [#2878]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2878 [#2877]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2877 [#2875]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2875 [#2871]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2871 [#2870]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2870 [#2869]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2869 [#2855]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2855 [#2852]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2852 [#2851]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2851 [#2846]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2846 [#2843]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2843 [#2840]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2840 [#2835]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2835 [#2763]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2763 [#2693]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2693 ### [`v7.21.5`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7215---20201019) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.4...v7.21.5) ##### Fixed - \[`jsx-indent-props`]: Apply indentation when using brackets ([#2826][] [@Moong0122](https://togithub.com/Moong0122)) - \[`jsx-handler-names`]: Skip inline handlers when checkInlineFunction=false ([#2833][] [@onigoetz](https://togithub.com/onigoetz)) ##### Changed - \[Tests] `jsx-indent-props`: Add passing test ([#2823][] [@Hypnosphi](https://togithub.com/Hypnosphi)) [7.21.5]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.4...v7.21.5 [#2833]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2833 [#2826]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2826 [#2823]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2823 ### [`v7.21.4`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7214---20201009) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.3...v7.21.4) ##### Fixed - \[`no-unused-prop-types`]: Silence false positive on `never` type in TS ([#2815][] [@pcorpet](https://togithub.com/pcorpet)) - \[`jsx-indent-props`]: Apply indentation when operator is used in front of the upper line ([#2808][], [#2820][] [@Moong0122](https://togithub.com/Moong0122)) - \[Deps] update `jsx-ast-utils` ([#2822][] [jsx-eslint/jsx-ast-utils#102][] [@ljharb](https://togithub.com/ljharb)) [7.21.4]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.3...v7.21.4 [#2822]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2822 [#2820]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2820 [#2815]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2815 [#2808]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2808 [jsx-eslint/jsx-ast-utils#102]: https://togithub.com/jsx-eslint/jsx-ast-utils/pull/102 ### [`v7.21.3`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7213---20201002) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.2...v7.21.3) ##### Fixed - \[`prop-types`]: fix Cannot read property 'type' of undefined error when destructured param ([#2807][] [@minwe](https://togithub.com/minwe)) - \[`no-typos`]: avoid crash on spread syntax in createReactClass object ([#2816][] [@ljharb](https://togithub.com/ljharb) [@Songyu-Wang](https://togithub.com/Songyu-Wang)) [7.21.3]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.2...v7.21.3 [#2816]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2816 [#2807]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2807 ### [`v7.21.2`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7212---20200924) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.1...v7.21.2) ##### Fixed - \[`prop-types`]: handle RestElement in destructured param ([#2805][] [@hank121314](https://togithub.com/hank121314)) [7.21.2]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.1...v7.21.2 [#2805]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2805 ### [`v7.21.1`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7211---20200923) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.0...v7.21.1) ##### Fixed - \[`jsx-handler-names`]: avoid a crash when an inline prop is not a MemberExpression ([#2803][] [@willheslam](https://togithub.com/willheslam)) [7.21.1]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.0...v7.21.1 [#2803]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2803 ### [`v7.21.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7210---20200922) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.6...v7.21.0) ##### Added - \[`button-has-type`]: support trivial ternary expressions ([#2748][] [@Hypnosphi](https://togithub.com/Hypnosphi)) - \[`jsx-handler-names`]: add `checkInlineFunction` option ([#2761][] [@dididy](https://togithub.com/dididy)) - \[`jsx-no-literals`]: add `noAttributeStrings` option ([#2782][] [@TaLeaMonet](https://togithub.com/TaLeaMonet)) - \[`prop-types`]: add support for `PropTypes.exact` ([#2740][] [@jzabala](https://togithub.com/jzabala)) - \[`jsx-filename-extension`]: Add allow option ([#2746][] [@remcohaszing](https://togithub.com/remcohaszing)) ##### Fixed - \[`function-component-definition`]: ignore object properties ([#2771][] [@stefan-wullems](https://togithub.com/stefan-wullems)) - \[`forbid-component-props`]: Implemented support for "namespaced" components ([#2767][] [@mnn](https://togithub.com/mnn)) - \[`prefer-read-only-props`]: support Flow `$ReadOnly` ([#2772][], [#2779][], [#2770][] [@karolina-benitez](https://togithub.com/karolina-benitez)) - \[`jsx-handler-names`]: handle whitespace ([#2789][] [@AriPerkkio](https://togithub.com/AriPerkkio)) - \[`prop-types`]: Detect TypeScript types for destructured default prop values ([#2780][] [@sunghyunjo](https://togithub.com/sunghyunjo)) - \[`jsx-pascal-case`]: Handle single character namespaced component ([#2791][] [@daviferreira](https://togithub.com/daviferreira)) - \[`jsx-closing-bracket-location`]: In `tag-aligned`, made a distinction between tabs and spaces ([#2796][] [@Moong0122](https://togithub.com/Moong0122)) - \[`jsx-handler-names`]: false positive when handler name begins with number ([#1689][] [@jsphstls](https://togithub.com/jsphstls)) - \[`prop-types`]: Detect JSX returned by sequential expression ([#2801][] [@mikol](https://togithub.com/mikol)) - \[`jsx-props-no-multi-spaces`]: "Expected no line gap between" false positive ([#2792][] [@karolina-benitez](https://togithub.com/karolina-benitez)) - \[`no-unknown-property`]: check attributes with any input case ([#2790][] [@julienw](https://togithub.com/julienw)) - \[`prop-types`]/\[`no-unused-prop-types`]: handle CallExpression in ReturnType ([#2802][] [@hank121314](https://togithub.com/hank121314)) - \[`jsx-uses-react`]: mark fragment variables as used ([#2775][] [@remcohaszing](https://togithub.com/remcohaszing)) - \[`no-unused-prop-types`]: improve component declared props detection (\[[#2755](https://togithub.com/yannickcr/eslint-plugin-react/issues/2755)]\[] [@jzabala](https://togithub.com/jzabala)) - \[`jsx-props-no-multi-spaces`]: Show error in multi-line props ([#2756][] [@iiison](https://togithub.com/iiison)) ##### Changed - \[Tests] \[`jsx-one-expression-per-line`]: add passing tests ([#2799][] [@TaLeaMonet](https://togithub.com/TaLeaMonet)) - \[Tests] \[`prop-types`]: add test ([#2757][] [@jzabala](https://togithub.com/jzabala)) [7.21.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.6...v7.21.0 [#2802]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2802 [#2801]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2801 [#2799]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2799 [#2796]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2796 [#2792]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2792 [#2791]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2791 [#2790]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2790 [#2789]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2789 [#2782]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2782 [#2780]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2780 [#2779]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2779 [#2775]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2775 [#2772]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2772 [#2771]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2771 [#2770]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2770 [#2767]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2767 [#2761]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2761 [#2757]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2757 [#2756]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2756 [#2748]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2748 [#2746]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2746 [#2740]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2740 [#1689]: https://togithub.com/yannickcr/eslint-plugin-react/pull/1689 ### [`v7.20.6`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7206---20200812) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.5...v7.20.6) ##### Fixed - \[`jsx-curly-brace-presence`]: fix multiline comment case ([#2716][] [@ljharb](https://togithub.com/ljharb)) - \[`jsx-no-useless-fragment`]: accept fragments with call expressions ([#2744][] [@hasparus](https://togithub.com/hasparus)) - \[`jsx-no-literals`] with allowStrings doesn't work in props ([#2736][] [@karolina-benitez](https://togithub.com/karolina-benitez)) - \[`no-find-dom-node`]: Improve error message ([#2741][] [@ecraig12345](https://togithub.com/ecraig12345)) - \[`no-typos`]/\[`no-unused-prop-types`]/propType detection: Support typescript props interface extension and TSTypeAliasDeclaration ([#2721][] [@hank121314](https://togithub.com/hank121314)) - \[`no-this-in-sfc`]/component detection: add arrow function to list of allowed position for component ([#2708][] [@jzabala](https://togithub.com/jzabala)) - \[`no-access-state-in-setstate`]: add check for class component ([#2711][] [@jzabala](https://togithub.com/jzabala)) - \[`prop-types`]/component detection: avoid a crash when a local `createElement` identifier exists ([#2733][] [@ljharb](https://togithub.com/ljharb)) ##### Changed - \[`no-unused-prop-types`]: add test assigning this.props to a variable [7.20.6]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.5...v7.20.6 [#2744]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2744 [#2741]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2741 [#2737]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2737 [#2736]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2736 [#2733]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2733 [#2721]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2721 [#2716]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2716 [#2711]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2711 [#2708]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2708 ### [`v7.20.5`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7205---20200728) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.4...v7.20.5) ##### Fixed - \[`jsx-curly-brace-presence`]: disable disallowed JSX text chars check in props ([#2710][] [@jzabala](https://togithub.com/jzabala)) - \[`no-unused-state`]: check for class expression ([#2712][] [@jzabala](https://togithub.com/jzabala)) - \[`prop-types`]: handle anonymous functions ([#2730][], [#2731][] [@odinho](https://togithub.com/odinho) [@wKich](https://togithub.com/wKich) [@jzabala](https://togithub.com/jzabala)) ##### Docs - \[Docs] \[`no-access-state-in-setstate`]: fix example ([#2724][] [@youngjuning](https://togithub.com/youngjuning)) [7.20.5]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.4...v7.20.5 [#2731]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2731 [#2730]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2730 [#2724]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2724 [#2712]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2712 [#2710]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2710 ### [`v7.20.4`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7204---20200726) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.3...v7.20.4) ##### Fixed - improve algorithm to check if a variable is coming from the pragma (\[[#2706](https://togithub.com/yannickcr/eslint-plugin-react/issues/2706)]\[] [@jzabala](https://togithub.com/jzabala)) - \[`prop-types`]: handle component returning null ([#2696][] [@hank121314](https://togithub.com/hank121314)) - \[`prop-types`]/\[`function-component-definition`]: Add check for first letter capitalization in functional component detection ([#2699][] [@jzabala](https://togithub.com/jzabala)) - \[`prop-types`]: use variable value in prop type fields defined by variables ([#2704][] [@jzabala](https://togithub.com/jzabala)) - \[`no-typos`]: warn on a bindingless `react` import ##### Changed - \[Tests] `boolean-prop-naming`: Added test for function invocation of bool ([#2697][] [@ajkovar](https://togithub.com/ajkovar)) - \[Tests] `jsx-curly-brace-presence`, `jsx-no-comment-textnodes`: add passing tests - \[Refactor] `no-unused-state`: avoid a loop [7.20.4]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.3...v7.20.4 [#2704]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2704 [#2699]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2699 [#2697]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2697 [#2696]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2696 ### [`v7.20.3`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7203---2020-06-30) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.2...v7.20.3) ##### Fixed - \[`no-unused-prop-types`]/\[`prop-types`]: typescript interface support literal type and only FunctionComponent should have propTypes validation ([#2690][] [@hank121314](https://togithub.com/hank121314)) - \[`no-unused-prop-types`]/TypeScript: avoid crash on indexable interface ([#2687][] [@ljharb](https://togithub.com/ljharb)) [7.20.3]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.2...v7.20.3 [#2690]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2690 [#2687]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2687 ### [`v7.20.2`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7202---2020-06-29) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.1...v7.20.2) ##### Fixed - \[`no-unused-prop-types`]: handle optional chaining ([#2679][] [@hank121314](https://togithub.com/hank121314)) - \[`jsx-pascal-case`]: fix a false positive with "H1" ([#2683][] [@ljharb](https://togithub.com/ljharb)) - \[`jsx-no-useless-fragment`]: avoid a crash when autofixing a self-closing React.Fragment ([#2680][] [@ljharb](https://togithub.com/ljharb)) - \[`forbid-prop-types`]: avoid crash ([#2682][] [@ljharb](https://togithub.com/ljharb)) [7.20.2]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.1...v7.20.2 [#2683]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2683 [#2682]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2682 [#2680]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2680 [#2679]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2679 ### [`v7.20.1`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7201---2020-06-28) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.0...v7.20.1) ##### Fixed - \[`forbid-dom-props`], \[`function-component-definition`]: fix schema typos ([#2667][] [@mflorence99](https://togithub.com/mflorence99)) - \[`no-unused-prop-types`]: fix with typescript eslint parser ([#2661][] [@eltonio450](https://togithub.com/eltonio450)) ##### Changed - \[`forbid-prop-types`]: warn on destructured values as well ([#2676][] [@ajkovar](https://togithub.com/ajkovar)) - relax JSX pragma regexp ([#2643][] [@gfmio](https://togithub.com/gfmio)) - Cache detected React version ([#2673][] [@lencioni](https://togithub.com/lencioni)) - \[refactor] \[`jsx-pascal-case`]: Remove xregexp ([#2636][] [@yacinehmito](https://togithub.com/yacinehmito))) - \[Tests] a \[`no-typos`] test fails in eslint v7.3 (\[[#2678](https://togithub.com/yannickcr/eslint-plugin-react/issues/2678)]\[] [@toshi-toma](https://togithub.com/toshi-toma)) - \[Deps] update `jsx-ast-utils`, `object.entries`, `resolve` - \[Dev Deps] update `@types/eslint`, `@types/estree`, `@types/node`, `@typescript-eslint/parser`, `eslint-config-airbnb-base`, `eslint-plugin-eslint-plugin`, `eslint-plugin-import`, `typescript` [7.20.1]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.0...v7.20.1 [#2676]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2676 [#2673]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2673 [#2667]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2667 [#2661]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2661 [#2643]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2643 [#2636]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2636 ### [`v7.20.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7200---2020-05-12) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.19.0...v7.20.0) ##### Added - support eslint v7 ([#2635][] [@ljharb](https://togithub.com/ljharb), [@toshi-toma](https://togithub.com/toshi-toma)) - \[`forbid-component-props`]\[]/\[`forbid-dom-props`]\[]: Allow a custom message with forbid props ([#2615][] [@mtamhankar1](https://togithub.com/mtamhankar1)) - \[`jsx-no-literals`]\[]: add `ignoreProps` option to ignore props validation ([#2146][] [@iiison](https://togithub.com/iiison)) ##### Fixed - \[`jsx-sort-props`]\[]: only use localeCompare when case is ignored ([#2556][] [@tanmoyopenroot](https://togithub.com/tanmoyopenroot)) - \[`jsx-key`]\[]: add a failing test case for optional chaining ([#2610][] [@JonathanLee-LX](https://togithub.com/JonathanLee-LX)) - \[`no-unused-state`]\[]: handle optional chaining ([#2588][] [@golopot](https://togithub.com/golopot)) - \[`jsx-pascal-case`]\[]: Do not consider namespaces when checking for DOM ([#2638][] [@yacinehmito](https://togithub.com/yacinehmito)) - \[`jsx-curly-spacing`]\[], \[`jsx-no-bind`]\[], `usedPropTypes` util: avoid node.start and node.end ([25b1936][] [@toshi-toma](https://togithub.com/toshi-toma)) - \[`jsx-no-target-blank`]\[]: allow `no-referrer` without `noopener` by default ([#2043][] [@seancrater](https://togithub.com/seancrater)) - \[`button-has-type`]\[]: improve message when non-static value is used ([aecff62][] [@golopot](https://togithub.com/golopot)) - \[`no-adjacent-inline-elements`]\[]: prevent crash on nullish children ([#2621][] [@Rogdham](https://togithub.com/Rogdham)) - \[`prop-types`]\[]: avoid crash when spreading any type ([#2606][] [@golopot](https://togithub.com/golopot))) - \[`require-render-return`]\[]: add missing "a" ([#2604][] [@leothorp](https://togithub.com/leothorp)) - \[`jsx-no-comment-textnodes`]\[]: fix for `@typescript-eslint/parser` ([#2601][] [@Axnyff](https://togithub.com/Axnyff)) - \[`displayName`]\[]: avoid a crash when using React.memo ([#2587][] [@golopot](https://togithub.com/golopot)) ##### Docs - Clean up examples in rule docs ([#2546][] [@silvenon](https://togithub.com/silvenon)) - \[readme] Add Rules of Hooks to Other useful plugins section ([#2633][] [@petetnt](https://togithub.com/petetnt)) - \[`no-this-in-sfc`]\[]: backtick `this` ([#2616][] [@mrflip](https://togithub.com/mrflip)) - \[`function-component-definition`]\[]: Fix unnamedComponents option examples ([#2608][] [@vkrol](https://togithub.com/vkrol))) ##### Changed - \[Deps] Move "semver" to devDependencies ([#2595][] [@rajivshah3](https://togithub.com/rajivshah3)) - \[eslint] remove `operator-linebreak` override ([#2578][] [@golopot](https://togithub.com/golopot)) - \[Tests] `button-has-type`: ensure no mistakenly allowed identifiers named `button`/`submit`/`reset` ([#2625][] [@golopot](https://togithub.com/golopot)) - \[Tests] `displayName`: add a test case ([#2593][] [@golopot](https://togithub.com/golopot)) - \[Dev Deps] update `@types/eslint`, `@types/estree`, `@types/node`, `@typescript-eslint/parser`, `coveralls`, `eslint-config-airbnb-base`, `eslint-plugin-import`, `typescript` [7.20.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.19.0...v7.20.0 [#2638]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2638 [#2635]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2635 [#2633]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2633 [#2625]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2625 [#2621]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2621 [#2616]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2616 [#2615]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2615 [#2610]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2610 [#2608]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2608 [#2606]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2606 [#2604]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2604 [#2601]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2601 [#2595]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2595 [#2593]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2593 [#2588]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2588 [#2587]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2587 [#2578]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2578 [#2556]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2556 [#2546]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2546 [#2146]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2146 [#2043]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2043 [25b1936]: https://togithub.com/yannickcr/eslint-plugin-react/commit/25b19365e6cc3f188d6a5ed6cecc70fe6f1af7cd [aecff62]: https://togithub.com/yannickcr/eslint-plugin-react/commit/aecff625bf0590ed4d80ed6b58b81af11901f5f6 ### [`v7.19.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7190---2020-03-06) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.3...v7.19.0) ##### Added - \[`style-prop-object`]\[]: Add `allow` option ([#1819][] [@hornta](https://togithub.com/hornta)) - \[`jsx-pascal-case`]\[]: Support unicode characters ([#2557][] [@Svish](https://togithub.com/Svish)) ##### Fixed - \[`prefer-stateless-function`]\[]: avoid crash on ts empty constructor ([#2582][] [@golopot](https://togithub.com/golopot)) - \[`no-adjacent-inline-elements`]\[]: avoid a crash ([#2575] [@ljharb](https://togithub.com/ljharb)) - \[`no-unused-prop-types`]\[]: Change the reporting to point to a more accurate node ([#2292][] [@jseminck](https://togithub.com/jseminck)) - \[`self-closing-comp`]\[]: consider JSXMemberExpression as component too ([#2572][] [@Belco90](https://togithub.com/Belco90)) - \[`no-unused-prop-types`]\[]: make `markPropTypesAsUsed` work with `TSEmptyBodyFunctionExpression` AST node ([#2560][] [@guillaumewuip](https://togithub.com/guillaumewuip)) - \[`displayName`]\[] (but really, `propTypes` detection): do not crash on empty flow type spreads ([#2570][] [@ljharb](https://togithub.com/ljharb)) ##### Changed - \[readme] Small visual inconsistency ([#2568] [@arvigeus](https://togithub.com/arvigeus)) - \[docs] add `react/` prefix to rule name, for consistency - \[`no-unescaped-entities`]\[]: skip test cases that are now parsing errors in acorn-jsx@5.2.0 ([#2583] [@golopot](https://togithub.com/golopot)) [7.19.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.3...v7.19.0 [#2583]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2583 [#2582]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2582 [#2575]: https://togithub.com/yannickcr/eslint-plugin-react/issue/2575 [#2572]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2572 [#2570]: https://togithub.com/yannickcr/eslint-plugin-react/issue/2570 [#2568]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2568 [#2560]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2560 [#2557]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2557 [#2292]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2292 [#1819]: https://togithub.com/yannickcr/eslint-plugin-react/pull/1819 ### [`v7.18.3`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7183---2020-02-02) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.2...v7.18.3) ##### Fixed - \[`jsx-indent`]\[]: don't check literals not within JSX ([#2564][] [@toshi-toma](https://togithub.com/toshi-toma)) [7.18.3]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.2...v7.18.3 [#2564]: https://togithub.com/yannickcr/eslint-plugin-react/issue/2564 ### [`v7.18.2`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7182---2020-02-01) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.1...v7.18.2) ##### Fixed - \[`jsx-indent`]\[]: avoid a crash on non-string literals ([#2561][] [@ljharb](https://togithub.com/ljharb)) [7.18.2]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.1...v7.18.2 [#2561]: https://togithub.com/yannickcr/eslint-plugin-react/issue/2561 ### [`v7.18.1`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7181---2020-02-01) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.0...v7.18.1) ##### Fixed - \[`jsx-indent`]\[]: Does not check indents for JSXText ([#2542][] [@toshi-toma](https://togithub.com/toshi-toma)) - \[`jsx-props-no-spreading`]\[]: add support for namespaced jsx components ([#2534][] [@jonathanpalma](https://togithub.com/jonathanpalma)) - \[`jsx-no-target-blank`]\[]: allow rel to be an expression ([#2544][] [@odinho](https://togithub.com/odinho)) - \[`sort-comp`]\[]: `|` isn’t a valid regex flag; `u` and `s` are ([@ljharb](https://togithub.com/ljharb)) ##### Changed - \[Docs] use `markdown-magic` to automatically sort all rules alphabetically ([#1742][] [@ybiquitous](https://togithub.com/ybiquitous)) - \[Docs] \[`jsx-props-no-spreading`]\[]: fix typo to use correct rule ([#2547][] [@jonggyun](https://togithub.com/jonggyun))) [7.18.1]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.0...v7.18.1 [#2547]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2547 [#2544]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2544 [#2542]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2542 [#2534]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2534 [#1742]: https://togithub.com/yannickcr/eslint-plugin-react/pull/1742 ### [`v7.18.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7180---2020-01-15) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.17.0...v7.18.0) ##### Added - \[`require-default-props`]\[]: add option to ignore functional components ([#2532][] [@RedTn](https://togithub.com/RedTn)) - \[`function-component-definition`]\[]: Enforce a specific function type for function components ([#2414][] [@Stefanwullems](https://togithub.com/Stefanwullems)) - \[`no-adjacent-inline-elements`]\[]: Prevent adjacent inline elements not separated by whitespace ([#1155][] [@SeanHayes](https://togithub.com/SeanHayes)) - \[`jsx-no-script-url`]\[]: prevent usage of `javascript:` URLs ([#2419][] [@sergei-startsev](https://togithub.com/sergei-startsev)) ##### Fixed - \[`jsx-pascal-case`]\[]: false negative with namespacing ([#1337][] [@mfyuce](https://togithub.com/mfyuce)) - \[`jsx-curly-brace-presence`]\[]: Fix `curly-brace-presence` edge cases ([#2523][] [@rafbgarcia](https://togithub.com/rafbgarcia)) - \[`prop-types`]\[]: Does not validate missing propTypes for LogicalExpression ([#2533][] [@toshi-toma](https://togithub.com/toshi-toma)) - \[`no-unknown-property`]\[]: allowTransparency does not exist in React >= v16.1 ([#1538][] [@dawidvdh](https://togithub.com/dawidvdh)) - \[`jsx-curly-brace-presence`]\[]: Fix error related to tags line break ([#2521][] [@rafbgarcia](https://togithub.com/rafbgarcia)) - \[`no-typos`]\[]: Compilation error when method name is string instead of identifier ([#2514][] [@shijistar](https://togithub.com/shijistar)) - \[`jsx-curly-brace-presence`]\[]: allow trailing spaces in TemplateLiteral ([#2507][] [@doochik](https://togithub.com/doochik)) - \[`no-unused-prop-types`], \[`no-unused-state`]: fix false positives when using TS type assertions ([#2536][] [@kdmadej](https://togithub.com/kdmadej)) ##### Changed - \[Docs] \[`no-render-return-value`]\[]: Fix title ([#2540][] [@micnic](https://togithub.com/micnic)) - \[Refactor]: remove unused codes in util/propTypes ([#2288][] [@golopot](https://togithub.com/golopot)) - \[`no-typos`]: check static lifecycle methods ([#2006][] [@bsonntag](https://togithub.com/bsonntag)) - \[Docs] \[`jsx-first-prop-new-line`]\[]: Fix rule name in "Rule Options" section ([#2535][] [@barreira](https://togithub.com/barreira)) - \[Tests] \[`no-unused-prop-types`]\[]: Added test cases ([#977][] [@dozoisch](https://togithub.com/dozoisch)) - \[Tests] avoid running tests on pretest job - \[meta] Move eslint-plugin-eslint-plugin to devDeps ([#2510][] [@nstepien](https://togithub.com/nstepien)) - \[Deps] update `array-includes`, `object.entries`, `object.fromentries`, `object.values`, `resolve` [7.18.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.17.0...v7.18.0 [#2540]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2540 [#2536]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2536 [#2535]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2535 [#2533]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2533 [#2532]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2532 [#2523]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2523 [#2521]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2521 [#2514]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2514 [#2510]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2510 [#2507]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2507 [#2419]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2419 [#2414]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2414 [#2288]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2288 [#2006]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2006 [#1538]: https://togithub.com/yannickcr/eslint-plugin-react/pull/1538 [#1337]: https://togithub.com/yannickcr/eslint-plugin-react/pull/1337 [#1155]: https://togithub.com/yannickcr/eslint-plugin-react/pull/1155 [#977]: https://togithub.com/yannickcr/eslint-plugin-react/pull/977
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.