Skip to content

Commit 40c69eb

Browse files
chore(deps): update dependency @eslint-react/eslint-plugin to v1.43.0 (#365)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@eslint-react/eslint-plugin](https://redirect.github.com/Rel1cx/eslint-react) ([source](https://redirect.github.com/Rel1cx/eslint-react/tree/HEAD/packages/plugins/eslint-plugin)) | [`1.26.2` -> `1.43.0`](https://renovatebot.com/diffs/npm/@eslint-react%2feslint-plugin/1.26.2/1.43.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@eslint-react%2feslint-plugin/1.43.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@eslint-react%2feslint-plugin/1.43.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@eslint-react%2feslint-plugin/1.26.2/1.43.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@eslint-react%2feslint-plugin/1.26.2/1.43.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>Rel1cx/eslint-react (@&#8203;eslint-react/eslint-plugin)</summary> ### [`v1.43.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1430-2025-04-10) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.42.1...v1.43.0) ##### ✨ New - feat: add codemod feature to `react-x/no-string-refs`, closes [#&#8203;1044](https://redirect.github.com/Rel1cx/eslint-react/issues/1044) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1045](https://redirect.github.com/Rel1cx/eslint-react/pull/1045) **Full Changelog**: Rel1cx/eslint-react@v1.42.1...v1.43.0 ### [`v1.42.1`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1421-2025-04-08) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.42.0...v1.42.1) ##### ✨ New - feat: rename `core` preset to `x` by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1042](https://redirect.github.com/Rel1cx/eslint-react/pull/1042) ##### πŸ“ Changes you should be aware of The following presets have been renamed: - `core` to `x` - `core-legacy` to `x-legacy` The old preset names will still be available until the next major update to avoid breaking changes. **Full Changelog**: Rel1cx/eslint-react@v1.41.0...v1.42.1 ### [`v1.42.0`](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.41.0...v1.42.0) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.41.0...v1.42.0) ### [`v1.41.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1410-2025-04-08) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.40.4...v1.41.0) ##### ✨ New - feat: add `react-debug/jsx` rule by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1041](https://redirect.github.com/Rel1cx/eslint-react/pull/1041) **Full Changelog**: Rel1cx/eslint-react@v1.40.4...1.41.0 ### [`v1.40.4`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1404-2025-04-07) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.40.3...v1.40.4) ##### 🐞 Fixes - fix: refactor JSX runtime annotation handling by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1038](https://redirect.github.com/Rel1cx/eslint-react/pull/1038) **Full Changelog**: Rel1cx/eslint-react@v1.40.3...v1.40.4 ### [`v1.40.3`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1403-2025-04-04) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.40.2...v1.40.3) ##### 🐞 Fixes - fix: fixed `no-useless-fragment` false positive when using `&nbsp;`, closes [#&#8203;1035](https://redirect.github.com/Rel1cx/eslint-react/issues/1035) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1036](https://redirect.github.com/Rel1cx/eslint-react/pull/1036) **Full Changelog**: Rel1cx/eslint-react@v1.40.2...v1.40.3 ### [`v1.40.2`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1402-2025-04-03) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.40.1...v1.40.2) ##### 🐞 Fixes - fix(react-x): fixed `jsx-uses-react` rule for `preserve` mode by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1031](https://redirect.github.com/Rel1cx/eslint-react/pull/1031) - fix: use initial release year and consistent username in LICENSE by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1032](https://redirect.github.com/Rel1cx/eslint-react/pull/1032) ##### πŸͺ„ Improvements - refactor(kit): simplify `LanguagePreferenceSchema` by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1033](https://redirect.github.com/Rel1cx/eslint-react/pull/1033) - refactor(website): reorganize CSS and improve theme by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1034](https://redirect.github.com/Rel1cx/eslint-react/pull/1034) **Full Changelog**: Rel1cx/eslint-react@v1.40.1...v1.40.2 ### [`v1.40.1`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1401-2025-04-01) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.40.0...v1.40.1) ##### ✨ New - feat(react-x): enhance `jsx-uses-react` rule to support `@jsx` and `@jsxFrag` annotation comments by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1029](https://redirect.github.com/Rel1cx/eslint-react/pull/1029) - feat(kit): add `LanguagePreference` by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1028](https://redirect.github.com/Rel1cx/eslint-react/pull/1028) **Full Changelog**: Rel1cx/eslint-react@v1.40.0...v1.40.1 ### [`v1.40.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1400-2025-04-01) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.38.4...v1.40.0) ##### ✨ New - feat(react-x): add `react-x/jsx-uses-react` rule by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1027](https://redirect.github.com/Rel1cx/eslint-react/pull/1027) - feat: enable `react-x/jsx-uses-react` rule in recommended presets by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1027](https://redirect.github.com/Rel1cx/eslint-react/pull/1027) - feat: enable `naming-convention/context-name` rule in recommended presets by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1024](https://redirect.github.com/Rel1cx/eslint-react/pull/1024) - feat(kit): add `JsxRuntime` module by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/1025](https://redirect.github.com/Rel1cx/eslint-react/pull/1025) **Full Changelog**: Rel1cx/eslint-react@v1.38.4...v1.40.0 ### [`v1.38.4`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1384-2025-03-29) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.38.3...v1.38.4) ##### πŸͺ„ Improvements - chore: update default React version to 19.1.0 in documentation and settings by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;1023](https://redirect.github.com/Rel1cx/eslint-react/pull/1023) **Full Changelog**: <Rel1cx/eslint-react@v1.38.3...v1.38.4> ### [`v1.38.3`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1383-2025-03-28) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.38.2...v1.38.3) ##### πŸͺ„ Improvements - docs: switch back to the original slogan by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [`e0e4d46`](https://redirect.github.com/Rel1cx/eslint-react/commit/e0e4d460c) **Full Changelog**: <Rel1cx/eslint-react@v1.38.2...v1.38.3> ### [`v1.38.2`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1382-2025-03-27) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.38.1...v1.38.2) ##### 🐞 Fixes - fix(eslint-plugin): disable `prefer-shorthand-*` rules in `all` config by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [`a9e6ef9`](https://redirect.github.com/Rel1cx/eslint-react/commit/a9e6ef9f97f968bb9366af3e5b40138fb4b6b679) **Full Changelog**: <Rel1cx/eslint-react@v1.38.0...v1.38.2> ### [`v1.38.1`](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.38.0...v1.38.1) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.38.0...v1.38.1) ### [`v1.38.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1380-2025-03-25) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.37.3...v1.38.0) ##### ✨ New - feat: add `react-x/jsx-no-undef` rule, closes [#&#8203;1016](https://redirect.github.com/Rel1cx/eslint-react/issues/1016) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;1018](https://redirect.github.com/Rel1cx/eslint-react/pull/1018) - feat: add `hooks-extra/prefer-use-state-lazy-initialization` rule to recommended presets by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;1019](https://redirect.github.com/Rel1cx/eslint-react/pull/1019) - docs: add experimental status to rules overview by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;1012](https://redirect.github.com/Rel1cx/eslint-react/pull/1012) ##### πŸͺ„ Improvements - refactor: undeprecate `react-x/jsx-uses-vars` and `react-x/jsx-no-duplicate-props` rules by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;1017](https://redirect.github.com/Rel1cx/eslint-react/pull/1017) **Full Changelog**: <Rel1cx/eslint-react@v1.37.3...v1.38.0> ### [`v1.37.3`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1373-2025-03-22) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.37.2...v1.37.3) ##### 🐞 Fixes - fix: the requested module `ts-api-utils` does not provide an export named `unionConstituents`, closes [#&#8203;1009](https://redirect.github.com/Rel1cx/eslint-react/issues/1009) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;1010](https://redirect.github.com/Rel1cx/eslint-react/pull/1010) **Full Changelog**: <Rel1cx/eslint-react@v1.37.2...v1.37.3> ### [`v1.37.2`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1372-2025-03-22) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.37.1...v1.37.2) ##### 🐞 Fixes - fix: `prefer-read-only-props` false positive using React types, closes [#&#8203;962](https://redirect.github.com/Rel1cx/eslint-react/issues/962) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;1008](https://redirect.github.com/Rel1cx/eslint-react/pull/1008) **Full Changelog**: <Rel1cx/eslint-react@v1.37.1...v1.37.2> ### [`v1.37.1`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1371-2025-03-22) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.37.0...v1.37.1) ##### 🐞 Fixes - fix: enhance `hooks-extra/prefer-use-state-lazy-initialization` to correctly detect other hooks called within `useState(...)` by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;1006](https://redirect.github.com/Rel1cx/eslint-react/pull/1006) ##### πŸͺ„ Improvements - docs: improve rule description and error message by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;1003](https://redirect.github.com/Rel1cx/eslint-react/pull/1003) and [#&#8203;1007](https://redirect.github.com/Rel1cx/eslint-react/pull/1007) **Full Changelog**: <Rel1cx/eslint-react@v1.37.0...v1.37.1> ### [`v1.37.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1370-2025-03-20) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.36.3...v1.37.0) ##### πŸͺ„ Improvements - refactor: remove `hooks-extra/prefer-use-state-lazy-initialization` from recommended presets by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;1001](https://redirect.github.com/Rel1cx/eslint-react/pull/1001) > Based on feedback of this rule, the current implementation produces more false positives than expected, so to ensure the overall quality of the rules in the recommended presets we provide, I'm removing it from the presets for now, and should add it back after we implement a better heuristic for deciding which function calls should be allowed. **Full Changelog**: <Rel1cx/eslint-react@v1.36.3...v1.37.0> ### [`v1.36.3`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1363-2025-03-20) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.36.2...v1.36.3) ##### 🐞 Fixes - fix: `hooks-extra/prefer-use-state-lazy-initialization` false positive on `useState(use(promise))` closes [#&#8203;999](https://redirect.github.com/Rel1cx/eslint-react/issues/999) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;1000](https://redirect.github.com/Rel1cx/eslint-react/pull/1000) **Full Changelog**: <Rel1cx/eslint-react@v1.36.2...v1.36.3> ### [`v1.36.2`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1362-2025-03-20) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.36.1...v1.36.2) No notable changes have been made in this release. **Full Changelog**: <Rel1cx/eslint-react@v1.36.1...v1.36.2> ### [`v1.36.1`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1361-2025-03-19) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.35.0...v1.36.1) ##### πŸͺ„ Improvements - refactor(naming-convention/use-state): enhance error messaging and docs, closes [#&#8203;980](https://redirect.github.com/Rel1cx/eslint-react/issues/980) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;997](https://redirect.github.com/Rel1cx/eslint-react/pull/997) **Full Changelog**: <Rel1cx/eslint-react@v1.35.0...v1.36.1> ### [`v1.35.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1350-2025-03-18) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.34.1...v1.35.0) ##### ✨ New - feat(plugins/dom): add `no-render` rule to replace `ReactDom.render()` with `createRoot(node).render()`, closes [#&#8203;972](https://redirect.github.com/Rel1cx/eslint-react/issues/972) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;993](https://redirect.github.com/Rel1cx/eslint-react/pull/993) - feat(plugins/dom): add `no-hydrate` rule to replace `ReactDom.hydrate()` with `hydrateRoot()`, closes [#&#8203;973](https://redirect.github.com/Rel1cx/eslint-react/issues/973) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;995](https://redirect.github.com/Rel1cx/eslint-react/pull/995) ##### πŸͺ„ Improvements - refactor: rename `hooks-extra/no-useless-custom-hooks` to `hooks-extra/no-unnecessary-use-prefix` by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;996](https://redirect.github.com/Rel1cx/eslint-react/pull/996) ##### πŸ“ Changes you should be aware of The following rules have been renamed: - `react-hooks-extra/no-useless-custom-hooks` to `react-hooks-extra/no-unnecessary-use-prefix` - `@eslint-react/hooks-extra/no-useless-custom-hooks` to `@eslint-react/hooks-extra/no-unnecessary-use-prefix` The old rule names will still be available until the next major update to avoid breaking changes. **Full Changelog**: <Rel1cx/eslint-react@v1.34.1...v1.35.0> ### [`v1.34.1`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1341-2025-03-15) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.34.0...v1.34.1) ##### 🐞 Fixes - fix: false positive in `react-x/no-context-provider` on symbols named `Provider` which are imported from third-party libs, closes [#&#8203;991](https://redirect.github.com/Rel1cx/eslint-react/issues/991) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;992](https://redirect.github.com/Rel1cx/eslint-react/pull/992) **Full Changelog**: <Rel1cx/eslint-react@v1.34.0...v1.34.1> ### [`v1.34.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1340-2025-03-15) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.33.0...v1.34.0) ##### πŸͺ„ Improvements - refactor: export the create function of each rule by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;989](https://redirect.github.com/Rel1cx/eslint-react/pull/989) - refactor(plugins/x): rename `no-nested-components` rule to `no-nested-component-definitions` and update related docs by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;990](https://redirect.github.com/Rel1cx/eslint-react/pull/990) ##### πŸ“ Changes you should be aware of The following rules have been renamed: - `react-x/no-nested-components` to `react-x/no-nested-component-definitions` - `@eslint-react/no-nested-components` to `@eslint-react/no-nested-component-definitions` The old rule names will still be available until the next major update to avoid breaking changes. **Full Changelog**: <Rel1cx/eslint-react@v1.33.0...v1.34.0> ### [`v1.33.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1330-2025-03-14) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.32.1...v1.33.0) ##### 🐞 Fixes - fix: update rule severity for `no-flush-sync` and `no-void-elements-with-children` in recommended presets by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;988](https://redirect.github.com/Rel1cx/eslint-react/pull/988) ##### πŸͺ„ Improvements - refactor(plugins/x): rename `ensure-forward-ref-using-ref` to `no-useless-forward-ref` by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;987](https://redirect.github.com/Rel1cx/eslint-react/pull/987) ##### πŸ“ Changes you should be aware of The following rules have been renamed: - `react-x/ensure-forward-ref-using-ref` to `react-x/no-useless-forward-ref` - `@eslint-react/ensure-forward-ref-using-ref` to `@eslint-react/no-useless-forward-ref` The old rule names will still be available until the next major update to avoid breaking changes. **Full Changelog**: <Rel1cx/eslint-react@v1.32.1...v1.33.0> ### [`v1.32.1`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1321-2025-03-13) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.32.0...v1.32.1) ##### 🐞 Fixes - fix: fixed `no-context-provider` replaces `<Provider>` with `<>`, closes [#&#8203;984](https://redirect.github.com/Rel1cx/eslint-react/issues/984) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/985](https://redirect.github.com/Rel1cx/eslint-react/pull/985) ### [`v1.32.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1320-2025-03-12) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.31.0...v1.32.0) ##### ✨ New - feat: revert 'feat: add naming-convention/use-state and naming-convention/context-name to recommended presets by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;956](https://redirect.github.com/Rel1cx/eslint-react/issues/956)' by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/982](https://redirect.github.com/Rel1cx/eslint-react/pull/982) ##### πŸͺ„ Improvements - docs: update eslint configs in examples to use extends by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/978](https://redirect.github.com/Rel1cx/eslint-react/pull/978) - docs: update ts configs in examples to use project references by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/979](https://redirect.github.com/Rel1cx/eslint-react/pull/979) ### [`v1.31.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1310-2025-03-07) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.30.2...v1.31.0) ##### ✨ New - feat: enhance regex handling in naming convention rules by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/969](https://redirect.github.com/Rel1cx/eslint-react/pull/969) ##### πŸͺ„ Improvements - docs: improve rules descriptions by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) ### [`v1.30.2`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1302-2025-03-05) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.30.1...v1.30.2) ##### 🐞 Fixes - fix(plugins/hooks-extra): misidentification of `set` function in IIFE inside of hooks as its inside of `useEffect`, `useLayoutEffect`, closes [#&#8203;967](https://redirect.github.com/Rel1cx/eslint-react/issues/967) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/968](https://redirect.github.com/Rel1cx/eslint-react/pull/968) ### [`v1.30.1`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1301-2025-03-04) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.30.0...v1.30.1) ##### 🐞 Fixes - fix(utilities/var): fix variable init node retrieval, fixes [#&#8203;964](https://redirect.github.com/Rel1cx/eslint-react/pull/964) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/965](https://redirect.github.com/Rel1cx/eslint-react/pull/965) ##### πŸͺ„ Improvements - refactor(plugins/hooks-extra): improve code reusability by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/963](https://redirect.github.com/Rel1cx/eslint-react/pull/963) ##### New Contributors - [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus) made their first contribution in [https://github.com/Rel1cx/eslint-react/pull/964](https://redirect.github.com/Rel1cx/eslint-react/pull/964) ### [`v1.30.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1300-2025-03-03) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.29.0...v1.30.0) ##### ✨ New - feat: add `naming-convention/use-state` and `naming-convention/context-name` to recommended presets by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;956](https://redirect.github.com/Rel1cx/eslint-react/pull/956) ##### 🐞 Fixes - fix: correct readonly checks and test cases in `prefer-read-only-props` by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;957](https://redirect.github.com/Rel1cx/eslint-react/pull/957) - fix: rework `naming-convention/component-name` rule to follow [eslint-plugin-react-hooks@5.0](https://redirect.github.com/facebook/react/releases/tag/eslint-plugin-react-hooks%405.0.0) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;959](https://redirect.github.com/Rel1cx/eslint-react/pull/959) > Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means `_Button` or `_component` are no longer valid. - fix: `naming-convention/use-state` fails with multiple words, closes [#&#8203;960](https://redirect.github.com/Rel1cx/eslint-react/issues/960) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;961](https://redirect.github.com/Rel1cx/eslint-react/pull/961) ### [`v1.29.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1290-2025-03-01) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.28.0...v1.29.0) ##### ✨ New - feat(plugins/naming-convention): add `context-name` rule by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/952](https://redirect.github.com/Rel1cx/eslint-react/pull/952) ##### 🐞 Fixes - fix: fixed `naming-convention/use-state` works in components only, closes [#&#8203;953](https://redirect.github.com/Rel1cx/eslint-react/issues/953) by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/954](https://redirect.github.com/Rel1cx/eslint-react/pull/954) ##### πŸͺ„ Improvements - docs: use `recommended-typescript` for typescript files by [@&#8203;bluwy](https://redirect.github.com/bluwy) in [https://github.com/Rel1cx/eslint-react/pull/949](https://redirect.github.com/Rel1cx/eslint-react/pull/949) ##### New Contributors - [@&#8203;bluwy](https://redirect.github.com/bluwy) made their first contribution in [https://github.com/Rel1cx/eslint-react/pull/949](https://redirect.github.com/Rel1cx/eslint-react/pull/949) ### [`v1.28.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1280-2025-02-26) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.27.0...v1.28.0) ##### ✨ New - feat(plugins/dom): add `no-flush-sync` rule by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/942](https://redirect.github.com/Rel1cx/eslint-react/pull/942) - feat: add [`skipImportCheck`](https://eslint-react.xyz/docs/configurations#skipimportcheck) setting by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) ##### πŸͺ„ Improvements - refactor: code optimization by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/945](https://redirect.github.com/Rel1cx/eslint-react/pull/945) - refactor: consistent ordering of arguments to context-aware utility functions by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [https://github.com/Rel1cx/eslint-react/pull/946](https://redirect.github.com/Rel1cx/eslint-react/pull/946) ### [`v1.27.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1270-2025-02-21) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.26.2...v1.27.0) ##### ✨ New - feat: add presets exports to modular plugins by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;940](https://redirect.github.com/Rel1cx/eslint-react/pull/940) - feat: add `no-missing-context-display-name` rule by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;941](https://redirect.github.com/Rel1cx/eslint-react/pull/941) ##### πŸͺ„ Improvements - refactor: improve error messages by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;936](https://redirect.github.com/Rel1cx/eslint-react/pull/936) and [#&#8203;937](https://redirect.github.com/Rel1cx/eslint-react/pull/937) - refactor: add `useEffect` to `additionalHooks` by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;938](https://redirect.github.com/Rel1cx/eslint-react/pull/938) - refactor: change severity of `no-duplicate-key` rule from `error` to `warn` by [@&#8203;Rel1cx](https://redirect.github.com/Rel1cx) in [#&#8203;939](https://redirect.github.com/Rel1cx/eslint-react/pull/939) </details> --- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), 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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/unnoq/orpc). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 9b13466 commit 40c69eb

1 file changed

Lines changed: 273 additions & 226 deletions

File tree

0 commit comments

Comments
Β (0)