Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 26, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@eslint-react/eslint-plugin (source) ^1.41.0 -> ^2.0.6 age adoption passing confidence

Release Notes

Rel1cx/eslint-react (@​eslint-react/eslint-plugin)

v2.0.6

Compare Source

🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v2.0.5...v2.0.6

v2.0.5

Compare Source

🪄 Improvements
  • Move error marker from dangerouslySetInnerHTML to children in dom/no-dangerously-set-innerhtml-with-children rule by @​Rel1cx in #​1256
  • Update default React version in settings from 19.1.0 to 19.2.0 by @​Rel1cx in #​1259

Full Changelog: Rel1cx/eslint-react@v2.0.4...v2.0.5

v2.0.4

Compare Source

✨ New
  • Enables naming-convention/use-state rule in recommended presets by @​Rel1cx in #​1252
🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v2.0.3...v2.0.4

v2.0.3

Compare Source

🐞 Fixes
  • Fix dom/prefer-namespace-import missing in react-dom plugin by @​Rel1cx in #​1249
  • Fix false positive for dom/no-missing-button-type when specifying non-trivial expression as value of type attribute, closes #​1247 by @​Rel1cx in #​1250

Full Changelog: Rel1cx/eslint-react@v2.0.2...v2.0.3

v2.0.2

Compare Source

🪄 Improvements

v2.0.1

Compare Source

🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v2.0.0...v2.0.1

v2.0.0

Compare Source

💥 Breaking Changes

Target Environment Updates: Now ESM and ESLint Flat Config Only

  • Drop support for CommonJS (CJS) module format, packages are now distributed only as ECMAScript Modules (ESM)
  • Drop support for ESLint legacy config system, packages now support only ESLint Flat Config (eslint.config.js)
  • Drop support for Node.js 18, minimum required version is now Node.js 20
  • Drop support for ESLint 8, minimum required version is now ESLint 9.3.6
  • Drop support for TypeScript 4, minimum required version is now TypeScript 5.9.2

Removed Rules

Rule Replaced by Reason
react-x/avoid-shorthand-boolean react-x/jsx-shorthand-boolean consolidated
react-x/avoid-shorthand-fragment react-x/jsx-shorthand-fragment consolidated
react-x/ensure-forward-ref-using-ref react-x/no-useless-forward-ref renamed
react-x/no-duplicate-props react-x/jsx-no-duplicate-props renamed
react-x/no-comment-textnodes react-x/jsx-no-comment-textnodes renamed
react-x/no-complicated-conditional-rendering discontinued
react-x/no-nested-components react-x/no-nested-component-definitions renamed
react-x/prefer-react-namespace-import react-x/prefer-namespace-import renamed
react-x/prefer-shorthand-boolean react-x/jsx-shorthand-boolean consolidated
react-x/prefer-shorthand-fragment react-x/jsx-shorthand-fragment consolidated
react-x/use-jsx-vars react-x/jsx-uses-vars renamed
react-dom/no-children-in-void-dom-elements react-dom/no-void-elements-with-children renamed
react-hooks-extra/no-direct-set-state-in-use-layout-effect react-hooks-extra/no-direct-set-state-in-use-effect consolidated
react-hooks-extra/no-unnecessary-use-callback react-x/no-unnecessary-use-callback relocated
react-hooks-extra/no-unnecessary-use-memo react-x/no-unnecessary-use-memo relocated
react-hooks-extra/no-unnecessary-use-prefix react-x/no-unnecessary-use-prefix relocated
react-hooks-extra/prefer-use-state-lazy-initialization react-x/prefer-use-state-lazy-initialization relocated

Removed Presets

Preset Replaced by Reason
core x renamed
off-dom disable-dom renamed

Removed Settings

Setting Replaced by Reason
additionalComponents discontinued
additionalHooks discontinued
skipImportCheck discontinued

Rules previously using these settings have been refactored to use improved heuristics and no longer require manual configuration.

✨ New

Added the following new rules:

  • react-x/jsx-shorthand-boolean: Enforces a consistent style for boolean attributes by @​Rel1cx
  • react-x/jsx-shorthand-fragment: Enforces a consistent style for React Fragments by @​Rel1cx
  • react-x/no-forbidden-props: Disallows specific props on components by @​reteps
  • react-x/no-unnecessary-key: Reports unnecessary key props on elements by @​Rel1cx, @​kachkaev
  • react-x/no-unused-props: Reports unused props in components by @​ulrichstark
  • react-dom/no-string-style-prop: Disallows string values for the style prop by @​Rel1cx, @​karlhorky
  • react-dom/prefer-namespace-import: Enforces using a namespace import for react-dom by @​Rel1cx

Added the following new rule to the recommended-type-checked preset:

  • react-x/no-unused-props: Reports unused props in components

The following rules now support Codemod features:

The following rules now support auto-fix:

  • react-x/no-missing-context-display-name by @​k-yle

The following rules now support suggestion fixes:

New configuration preset added:

  • disable-conflict-eslint-plugin-react: Disable rules in eslint-plugin-react that conflict with rules in our plugins by @​reteps
🐞 Fixes
  • fix(react-x/no-unnecessary-use-prefix): fix false positive of React Hooks defined within the callback function of vi.mock(...) in Vitest test files by @​Rel1cx
  • fix(react-web-api/no-leaked-event-listener): fix useEffect setup function check to handle React.useEffect() calls correctly by @​Rel1cx
  • fix(react-naming-convention/filename): fix false positive on well-known filenames like 404.tsx, _app.tsx, [slug].tsx by @​Rel1cx
🪄 Improvements
  • refactor: simplify React APIs detection logic by @​Rel1cx
  • refactor: cleanup utilities and simplify rule implementations by @​Rel1cx
  • docs: add comparison table between eslint-plugin-react and eslint-react rules by @​reteps, @​outslept
  • docs: replace tseslint.config with defineConfig in all examples by @​Rel1cx
  • build: migrate build system from tsup to tsdown for better performance by @​Rel1cx

Full Changelog: Rel1cx/eslint-react@v1.53.1...v2.0.0

v1.53.1

Compare Source

🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v1.53.0...v1.53.1

v1.53.0

Compare Source

✨ New
  • feat: update naming convention rules default excepts to include common patterns by @​Rel1cx in #​1216
🪄 Improvements

Full Changelog: Rel1cx/eslint-react@v1.52.8...v1.53.0

v1.52.9

Compare Source

🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v1.52.8...v1.52.9

v1.52.8

Compare Source

🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v1.52.7...v1.52.8

v1.52.7

Compare Source

🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v1.52.6...v1.52.7

v1.52.6

Compare Source

🐞 Fixes
  • fix: correct logic in naming-convention/component-name validation to continue on valid names, closes #​1176 by @​Rel1cx in #​1177

Full Changelog: Rel1cx/eslint-react@v1.52.5...v1.52.6

v1.52.5

Compare Source

🐞 Fixes
  • fix: refactor is-from-react utility in react-debug/is-from-react rule and improve react-x/no-forward-ref rule autofix handling, closes #​1172 by @​Rel1cx in #​1173

Full Changelog: Rel1cx/eslint-react@v1.52.4...v1.52.5

v1.52.4

Compare Source

🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v1.52.3...v1.52.4

v1.52.3

Compare Source

🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v1.52.2...v1.52.3

v1.52.2

Compare Source

🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v1.52.1...v1.52.2

v1.52.1

Compare Source

✨ New
New Contributors

Full Changelog: Rel1cx/eslint-react@v1.51.3...v1.52.1

v1.51.3

Compare Source

🐞 Fixes
  • fix: update messages for react-x/jsx-no-iife and react-x/jsx-uses-vars rules by @​Rel1cx in #​1127

Full Changelog: Rel1cx/eslint-react@v1.51.2...v1.51.3

v1.51.2

Compare Source

🐞 Fixes
  • fix: skip function components without name in react-x/prefer-read-only-props by @​Rel1cx in #​1125
🪄 Improvements
  • docs: update references from 'Language Config' to 'Project Config' across documentation by @​Rel1cx in #​1126

Full Changelog: Rel1cx/eslint-react@v1.51.1...v1.51.2

v1.51.1

Compare Source

🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v1.51.0...v1.51.1

v1.51.0

Compare Source

✨ New
🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v1.50.0...v1.51.0

v1.50.0

Compare Source

🐞 Fixes
New Contributors

Full Changelog: Rel1cx/eslint-react@v1.49.0...v1.50.0

v1.49.0

Compare Source

✨ New

Full Changelog: Rel1cx/eslint-react@v1.48.5...v1.49.0

v1.48.5

Compare Source

🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v1.48.4...v1.48.5

v1.48.4

Compare Source

🐞 Fixes
  • fix: update fallback react version in settings to "19.1.0"

Full Changelog: Rel1cx/eslint-react@v1.48.3...v1.48.4

v1.48.3

Compare Source

🪄 Improvements

Full Changelog: Rel1cx/eslint-react@v1.48.2...v1.48.3

v1.48.2

Compare Source

🐞 Fixes
  • fix: could not find hooks-extra/no-direct-set-state-in-use-effect in plugin react-hooks-extra, closes #​1077 by @​Rel1cx in #​1078

Full Changelog: Rel1cx/eslint-react@v1.48.1...v1.48.2

v1.48.1

Compare Source

🐞 Fixes
  • fix: rewrite react api detection to better align with eslint-plugin-react-hook by @​Rel1cx in #​1074
  • fix: use preferred loc in error maker in hooks-extra/no-unnecessary-use-prefix by @​Rel1cx in #​1073

Full Changelog: Rel1cx/eslint-react@v1.47.4...v1.48.0

v1.47.4

Compare Source

🐞 Fixes
  • fix: update hooks-extra/no-unnecessary-use-prefix to skip well-known hooks like useMDXComponents by @​Rel1cx in #​1072

Full Changelog: Rel1cx/eslint-react@v1.47.3...v1.47.4

v1.47.3

Compare Source

🐞 Fixes
  • fix: fixed potential false negatives in no-leaked-conditional-rendering when logical expressions are wrapped by type expressions by @​Rel1cx in #​1068

Full Changelog: Rel1cx/eslint-react@v1.47.2...v1.47.3

v1.47.2

Compare Source

🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v1.47.1...v1.47.2

v1.47.1

Compare Source

🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v1.47.0...v1.47.1

v1.47.0

Compare Source

🪄 Improvements
  • refactor: remove @eslint-react/jsx package and move functionality to @eslint-react/core by @​Rel1cx in #​1060

Full Changelog: Rel1cx/eslint-react@v1.46.0...v1.47.0

v1.46.0

Compare Source

✨ New

Full Changelog: Rel1cx/eslint-react@v1.45.3...v1.45.4

v1.45.4

Compare Source

🪄 Improvements

Full Changelog: Rel1cx/eslint-react@v1.45.3...v1.45.4

v1.45.3

Compare Source

🪄 Improvements
  • pref: replace picomatch.makeRe with RE.toRegExp for pattern matching by @​Rel1cx in #​1055

Full Changelog: Rel1cx/eslint-react@v1.45.2...v1.45.3

v1.45.2

Compare Source

🪄 Improvements

Full Changelog: Rel1cx/eslint-react@v1.45.1...v1.45.2

v1.45.1

Compare Source

🐞 Fixes

Full Changelog: Rel1cx/eslint-react@v1.45.0...v1.45.1

v1.45.0

Compare Source

✨ New

Full Changelog: Rel1cx/eslint-react@v1.44.0...v1.45.0

v1.43.0

Compare Source

✨ New

Full Changelog: Rel1cx/eslint-react@v1.42.1...v1.43.0

v1.42.1

Compare Source

✨ New
📝 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

Compare Source


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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/eslint-react-eslint-plugin-2.x branch 5 times, most recently from bc8d2e2 to ada0efe Compare October 2, 2025 00:27
@renovate renovate bot force-pushed the renovate/eslint-react-eslint-plugin-2.x branch from ada0efe to dc09a24 Compare October 3, 2025 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants