Commit 40c69eb
authored
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)
|
[](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>Rel1cx/eslint-react
(@​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
[#​1044](https://redirect.github.com/Rel1cx/eslint-react/issues/1044)
by [@​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
[@​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
[@​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
[@​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 ` `,
closes
[#​1035](https://redirect.github.com/Rel1cx/eslint-react/issues/1035)
by [@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​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 [@​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
[@​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 [@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[@​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 [@​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
[#​1016](https://redirect.github.com/Rel1cx/eslint-react/issues/1016)
by [@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​1018](https://redirect.github.com/Rel1cx/eslint-react/pull/1018)
- feat: add `hooks-extra/prefer-use-state-lazy-initialization` rule to
recommended presets by
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​1019](https://redirect.github.com/Rel1cx/eslint-react/pull/1019)
- docs: add experimental status to rules overview by
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[#​1009](https://redirect.github.com/Rel1cx/eslint-react/issues/1009)
by [@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[#​962](https://redirect.github.com/Rel1cx/eslint-react/issues/962)
by [@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​1006](https://redirect.github.com/Rel1cx/eslint-react/pull/1006)
##### πͺ Improvements
- docs: improve rule description and error message by
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​1003](https://redirect.github.com/Rel1cx/eslint-react/pull/1003)
and
[#​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
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[#​999](https://redirect.github.com/Rel1cx/eslint-react/issues/999)
by [@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[#​980](https://redirect.github.com/Rel1cx/eslint-react/issues/980)
by [@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[#​972](https://redirect.github.com/Rel1cx/eslint-react/issues/972)
by [@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​993](https://redirect.github.com/Rel1cx/eslint-react/pull/993)
- feat(plugins/dom): add `no-hydrate` rule to replace
`ReactDom.hydrate()` with `hydrateRoot()`, closes
[#​973](https://redirect.github.com/Rel1cx/eslint-react/issues/973)
by [@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[#​991](https://redirect.github.com/Rel1cx/eslint-react/issues/991)
by [@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[#​984](https://redirect.github.com/Rel1cx/eslint-react/issues/984)
by [@​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
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​956](https://redirect.github.com/Rel1cx/eslint-react/issues/956)'
by [@​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
[@​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
[@​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
[@​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
[@​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
[#​967](https://redirect.github.com/Rel1cx/eslint-react/issues/967)
by [@​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
[#​964](https://redirect.github.com/Rel1cx/eslint-react/pull/964)
by [@​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
[@​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
- [@​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
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​956](https://redirect.github.com/Rel1cx/eslint-react/pull/956)
##### π Fixes
- fix: correct readonly checks and test cases in
`prefer-read-only-props` by
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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 [@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[#​960](https://redirect.github.com/Rel1cx/eslint-react/issues/960)
by [@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
[@​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
[#​953](https://redirect.github.com/Rel1cx/eslint-react/issues/953)
by [@​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
[@​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
- [@​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
[@​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 [@​Rel1cx](https://redirect.github.com/Rel1cx)
##### πͺ Improvements
- refactor: code optimization by
[@​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 [@​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
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​940](https://redirect.github.com/Rel1cx/eslint-react/pull/940)
- feat: add `no-missing-context-display-name` rule by
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​941](https://redirect.github.com/Rel1cx/eslint-react/pull/941)
##### πͺ Improvements
- refactor: improve error messages by
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​936](https://redirect.github.com/Rel1cx/eslint-react/pull/936)
and
[#​937](https://redirect.github.com/Rel1cx/eslint-react/pull/937)
- refactor: add `useEffect` to `additionalHooks` by
[@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​938](https://redirect.github.com/Rel1cx/eslint-react/pull/938)
- refactor: change severity of `no-duplicate-key` rule from `error` to
`warn` by [@​Rel1cx](https://redirect.github.com/Rel1cx) in
[#​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
0 commit comments