Closed renovate[bot] closed 3 years ago
This PR contains the following updates:
7.21.5
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.21.5
->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
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.