Closed renovate[bot] closed 2 months ago
[puLL-Merge] - jsx-eslint/eslint-plugin-react@v7.35.2..v7.36.0
This PR introduces several new features and improvements to the eslint-plugin-react package. It adds a new rule, updates existing rules, improves TypeScript support, and enhances the overall functionality of the plugin.
jsx-no-literals
rule with element-specific overrides might require users to update their configurations if they rely on the previous behavior.No significant security issues were identified in this change.
This PR contains the following updates:
29.5.12
->29.5.13
7.35.2
->7.36.1
Release Notes
jsx-eslint/eslint-plugin-react (eslint-plugin-react)
### [`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/3807Configuration
📅 Schedule: Branch creation - " 0-4 * 3" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.