Closed renovate[bot] closed 2 years ago
This PR contains the following updates:
7.20.6
7.26.1
📅 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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This PR contains the following updates:
7.20.6
->7.26.1
Release Notes
yannickcr/eslint-plugin-react
### [`v7.26.1`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7261---20210929) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.26.0...v7.26.1) ##### Fixed - \[`no-namespace`]: fix crash on non-string React.createElement name ([#3082] [@ljharb](https://togithub.com/ljharb)) - \[`no-namespace`]: avoid crash on non-string createElement values ([#3085] [@ljharb](https://togithub.com/ljharb)) - \[`jsx-no-target-blank`]: improve error messages ([#3088] [@cutiful](https://togithub.com/cutiful)) ##### Changed - \[Docs] \[`jsx-max-props-per-line`]: fix options example ([#3083] [@MrRaiter](https://togithub.com/MrRaiter)) [7.26.1]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.26.0...v7.26.1 [#3088]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3088 [#3085]: https://togithub.com/yannickcr/eslint-plugin-react/issue/3085 [#3083]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3083 [#3082]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3082 ### [`v7.26.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7260---20210920) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.25.3...v7.26.0) ##### Added - add \[`no-namespace`] rule ([#2640] [@yacinehmito](https://togithub.com/yacinehmito) [@ljharb](https://togithub.com/ljharb)) - \[`jsx-max-props-per-line`]: add `single` and `multi` options ([#3078] [@SIL0RAK](https://togithub.com/SIL0RAK)) ##### Fixed - \[`display-name`]: Get rid of false position on component detection ([#2759] [@iiison](https://togithub.com/iiison)) ##### Changed - \[`no-access-state-in-setstate`]: passing test for “don't error if it's not a React Component” ([#1873] [@kentcdodds](https://togithub.com/kentcdodds)) [7.26.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.25.3...v7.26.0 [#3078]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3078 [#2640]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2640 [#2759]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2759 [#1873]: https://togithub.com/yannickcr/eslint-plugin-react/pull/1873 ### [`v7.25.3`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7253---20210919) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.25.2...v7.25.3) ##### Fixed - \[`prop-types`], `propTypes`: bail out unknown generic types inside func params ([#3076] [@vedadeepta](https://togithub.com/vedadeepta)) ##### Changed - \[readme] Update broken link for configuration files ([#3071] [@prateek3255](https://togithub.com/prateek3255)) - \[Refactor] create/extract `isCreateElement` and `isDestructuredFromPragmaImport` utils ([@ljharb](https://togithub.com/ljharb)) [7.25.3]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.25.2...v7.25.3 [#3076]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3076 [#3071]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3071 ### [`v7.25.2`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7252---20210916) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.25.1...v7.25.2) ##### Fixed - \[`jsx-no-useless-fragments`]: Handle insignificant whitespace correctly when `allowExpressions` is `true` ([#3061][] [@benj-dobs](https://togithub.com/benj-dobs)) - \[`prop-types`], `propTypes`: handle implicit `children` prop in react's generic types ([#3064][] [@vedadeepta](https://togithub.com/vedadeepta)) - \[`display-name`]: fix arrow function returning result of function call with JSX arguments being interpreted as component ([#3065][] [@danielfinke](https://togithub.com/danielfinke)) - \[`jsx-no-target-blank`]: avoid crash on attr-only href ([#3066][] [@ljharb](https://togithub.com/ljharb) [@gaz77a](https://togithub.com/gaz77a)) - \[`jsx-uses-vars`]: ignore lowercase tag names ([#3070][] [@alanorozco](https://togithub.com/alanorozco)) [7.25.2]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.25.1...v7.25.2 [#3070]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3070 [#3066]: https://togithub.com/yannickcr/eslint-plugin-react/issue/3066 [#3065]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3065 [#3064]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3064 [#3061]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3061 ### [`v7.25.1`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7251---20210829) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.25.0...v7.25.1) ##### Fixed - \[`no-this-in-sfc`], component detection: Improve stateless component detection ([#3056][] [@Wesitos](https://togithub.com/Wesitos)) [7.25.1]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.25.0...v7.25.1 [#3056]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3056 ### [`v7.25.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7250---20210827) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.24.0...v7.25.0) ##### Added - \[`jsx-no-useless-fragments`]: add option to allow single expressions in fragments ([#3006][] [@mattdarveniza](https://togithub.com/mattdarveniza)) - add \[`prefer-exact-props`] rule ([#1547][] [@jomasti](https://togithub.com/jomasti)) - \[`jsx-no-target-blank`]: add `forms` option ([#1617][] [@jaaberg](https://togithub.com/jaaberg)) - \[`jsx-pascal-case`]: add `allowLeadingUnderscore` option ([#3039][] [@pangaeatech](https://togithub.com/pangaeatech)) - \[`no-children-prop`]: Add `allowFunctions` option ([#1903][] [@alexzherdev](https://togithub.com/alexzherdev)) - \[`jsx-runtime`]: set `parserOptions.jsxPragma` for `@typescript-eslint/parser` ([bb64df65][] [@ljharb](https://togithub.com/ljharb)) ##### Fixed - component detection: use `estraverse` to improve component detection ([#2992][] [@Wesitos](https://togithub.com/Wesitos)) - \[`destructuring-assignment`], \[`no-multi-comp`], \[`no-unstable-nested-components`], component detection: improve component detection ([#3001][] [@vedadeepta](https://togithub.com/vedadeepta)) - \[`no-deprecated`]: fix crash on rest elements ([#3016][] [@ljharb](https://togithub.com/ljharb)) - \[`destructuring-assignment`]: get the contextName correctly ([#3025][] [@ohhoney1](https://togithub.com/ohhoney1)) - \[`no-typos`]: prevent crash on styled components and forwardRefs ([#3036][] [@ljharb](https://togithub.com/ljharb)) - \[`destructuring-assignment`], component detection: handle default exports edge case ([#3038][] [@vedadeepta](https://togithub.com/vedadeepta)) - \[`no-typos`]: fix crash on private methods ([#3043][] [@ljharb](https://togithub.com/ljharb)) - \[`jsx-no-bind`]: handle local function declarations ([#3048][] [@p7g](https://togithub.com/p7g)) - \[`prop-types`], `propTypes`: handle React.\* TypeScript types ([#3049][] [@vedadeepta](https://togithub.com/vedadeepta)) - \[`prop-types`], `propTypes`: add handling for `FC` 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
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.