Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency eslint-plugin-react to v7.37.3 j:kit-282…
… (#4819) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-react](https://redirect.github.com/jsx-eslint/eslint-plugin-react) | [`7.35.0` -> `7.37.3`](https://renovatebot.com/diffs/npm/eslint-plugin-react/7.35.0/7.37.3) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>jsx-eslint/eslint-plugin-react (eslint-plugin-react)</summary> ### [`v7.37.3`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7373---20241223) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.2...v7.37.3) ##### Fixed - \[`no-danger`]: avoid a crash on a nested component name ([#​3833][] [@​ljharb](https://redirect.github.com/ljharb)) - \[Fix] types: correct generated type declaration ([#​3840][] [@​ocavue](https://redirect.github.com/ocavue)) - \[`no-unknown-property`]: support `precedence` prop in react 19 ([#​3829][] [@​acusti](https://redirect.github.com/acusti)) - \[`prop-types`]: props missing in validation when using generic types from a namespace import ([#​3859][] [@​rbondoc96](https://redirect.github.com/rbondoc96)) ##### Changed - \[Tests] \[`jsx-no-script-url`]: Improve tests ([#​3849][] [@​radu2147](https://redirect.github.com/radu2147)) - \[Docs] fix broken links: \[`default-props-match-prop-types`], \[`jsx-boolean-value`], \[`jsx-curly-brace-presence`], \[`jsx-no-bind`], \[`no-array-index-key`], \[`no-is-mounted`], \[`no-render-return-value`], \[`require-default-props`] ([#​3841][] [@​bastiendmt](https://redirect.github.com/bastiendmt)) [7.37.3]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.2...v7.37.3 [#​3859]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3859 [#​3849]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3849 [#​3841]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3841 [#​3840]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3840 [#​3833]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3833 [#​3829]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3829 ### [`v7.37.2`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7372---20241022) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.1...v7.37.2) ##### Fixed - \[`destructuring-assignment`]: fix false negative when using `typeof props.a` ([#​3835][] [@​golopot](https://redirect.github.com/golopot)) ##### Changed - \[Refactor] \[`destructuring-assignment`]: use `getParentStatelessComponent` ([#​3835][] [@​golopot](https://redirect.github.com/golopot)) [7.37.2]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.1...v7.37.2 [#​3835]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3835 ### [`v7.37.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7371---20241001) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.0...v7.37.1) ##### Fixed - \[meta] do not npmignore `d.ts` files ([#​3836][] [@​ljharb](https://redirect.github.com/ljharb)) ##### Changed - \[readme] Fix shared settings link ([#​3834][] [@​MgenGlder](https://redirect.github.com/MgenGlder)) [7.37.1]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.0...v7.37.1 [#​3836]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3836 [#​3834]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3834 ### [`v7.37.0`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7370---20240926) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.1...v7.37.0) ##### Added - add type generation ([#​3830][] [@​voxpelli](https://redirect.github.com/voxpelli)) - \[`no-unescaped-entities`]: add suggestions ([#​3831][] [@​StyleShit](https://redirect.github.com/StyleShit)) - \[`forbid-component-props`]: add `allowedForPatterns`/`disallowedForPatterns` options ([#​3805][] [@​Efimenko](https://redirect.github.com/Efimenko)) - \[`no-unstable-nested-components`]: add `propNamePattern` to support custom render prop naming conventions ([#​3826][] [@​danreeves](https://redirect.github.com/danreeves)) ##### Changed - \[readme] flat config example for react 17+ ([#​3824][] [@​GabenGar](https://redirect.github.com/GabenGar)) [7.37.0]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.1...v7.37.0 [#​3831]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3831 [#​3830]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3830 [#​3826]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3826 [#​3824]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3824 [#​3805]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3805 ### [`v7.36.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7361---20240912) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.0...v7.36.1) ##### Fixed - \[`no-is-mounted`]: fix logic in method name check ([#​3821][] [@​Mathias-S](https://redirect.github.com/Mathias-S)) - \[`jsx-no-literals`]: Avoid crashing on valueless boolean props ([#​3823][] [@​reosarevok](https://redirect.github.com/reosarevok)) [7.36.1]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.0...v7.36.1 [#​3823]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3823 [#​3821]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3821 ### [`v7.36.0`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7360---20240912) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.2...v7.36.0) ##### Added - \[`no-string-refs`]: allow this.refs in > 18.3.0 ([#​3807][] [@​henryqdineen](https://redirect.github.com/henryqdineen)) - \[`jsx-no-literals`] Add `elementOverrides` option and the ability to ignore this rule on specific elements ([#​3812][] [@​Pearce-Ropion](https://redirect.github.com/Pearce-Ropion)) - \[`forward-ref-uses-ref`]: add rule for checking ref parameter is added (\[[#​3667](https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3667)]\[] [@​NotWoods](https://redirect.github.com/NotWoods)) ##### Fixed - \[`function-component-definition`], \[`boolean-prop-naming`], \[`jsx-first-prop-new-line`], \[`jsx-props-no-multi-spaces`], `propTypes`: use type args ([#​3629][] [@​HenryBrown0](https://redirect.github.com/HenryBrown0)) - JSX pragma: fail gracefully ([#​3632][] [@​ljharb](https://redirect.github.com/ljharb)) - \[`jsx-props-no-spreading`]: add `explicitSpread` option to schema ([#​3799][] [@​ljharb](https://redirect.github.com/ljharb)) ##### Changed - \[Tests] add [@​typescript-eslint/parser](https://redirect.github.com/typescript-eslint/parser) v6 ([#​3629][] [@​HenryBrown0](https://redirect.github.com/HenryBrown0)) - \[Tests] add [@​typescript-eslint/parser](https://redirect.github.com/typescript-eslint/parser) v7 and v8 ([#​3629][] [@​hampustagerud](https://redirect.github.com/hampustagerud)) - \[Docs] \[`no-danger`]: update broken link ([#​3817][] [@​lucasrmendonca](https://redirect.github.com/lucasrmendonca)) - \[types] add jsdoc type annotations ([#​3731][] [@​y-hsgw](https://redirect.github.com/y-hsgw)) - \[Tests] `button-has-type`: add test case with spread ([#​3731][] [@​y-hsgw](https://redirect.github.com/y-hsgw)) [7.36.0]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.2...v7.36.0 [#​3799]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3799 [#​3632]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3632 [#​3812]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3812 [#​3731]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3731 [#​3694]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3667 [#​3629]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3629 [#​3817]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3817 [#​3807]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3807 ### [`v7.35.2`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7352---20240903) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.1...v7.35.2) ##### Fixed - \[`jsx-curly-brace-presence`]: avoid autofixing attributes with double quotes to a double quoted attribute ([#​3814][] [@​ljharb](https://redirect.github.com/ljharb)) [7.35.2]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.1...v7.35.2 [#​3814]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3814 ### [`v7.35.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7351---20240902) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.0...v7.35.1) ##### Fixed - \[`jsx-curly-brace-presence`]: do not trigger on strings containing a quote character ([#​3798][] [@​akulsr0](https://redirect.github.com/akulsr0)) [7.35.1]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.0...v7.35.1 [#​3798]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3798 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4:00am on Tuesday" in timezone America/Toronto, Automerge - 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44Ni4xIiwidXBkYXRlZEluVmVyIjoiMzkuODYuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate-coveo[bot] <115253437+renovate-coveo[bot]@users.noreply.github.com>
- Loading branch information