Update eslint npm packages#8677
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview
The notable upstream change is Reviewed by Cursor Bugbot for commit 13a1886. Bugbot is set up for automated code reviews on this repo. Configure here. |
🤖 Augment PR SummarySummary: This PR updates ESLint-related npm dependencies used across the monorepo. Changes:
Technical Notes: Versions remain pinned/consistent across the shared ESLint config package and consuming packages to keep linting behavior aligned. 🤖 Was this summary useful? React with 👍 or 👎 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8677 +/- ##
==========================================
- Coverage 62.50% 62.49% -0.01%
==========================================
Files 1318 1318
Lines 134234 134234
Branches 5520 5520
==========================================
- Hits 83906 83893 -13
- Misses 49415 49426 +11
- Partials 913 915 +2 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Benchmark results
|
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| resolve_policies_for_actor | user: empty, selectivity: high, policies: 2002 | Flame Graph | |
| resolve_policies_for_actor | user: empty, selectivity: low, policies: 1 | Flame Graph | |
| resolve_policies_for_actor | user: empty, selectivity: medium, policies: 1001 | Flame Graph | |
| resolve_policies_for_actor | user: seeded, selectivity: high, policies: 3314 | Flame Graph | |
| resolve_policies_for_actor | user: seeded, selectivity: low, policies: 1 | Flame Graph | |
| resolve_policies_for_actor | user: seeded, selectivity: medium, policies: 1526 | Flame Graph | |
| resolve_policies_for_actor | user: system, selectivity: high, policies: 2078 | Flame Graph | |
| resolve_policies_for_actor | user: system, selectivity: low, policies: 1 | Flame Graph | |
| resolve_policies_for_actor | user: system, selectivity: medium, policies: 1033 | Flame Graph |
policy_resolution_medium
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| resolve_policies_for_actor | user: empty, selectivity: high, policies: 102 | Flame Graph | |
| resolve_policies_for_actor | user: empty, selectivity: low, policies: 1 | Flame Graph | |
| resolve_policies_for_actor | user: empty, selectivity: medium, policies: 51 | Flame Graph | |
| resolve_policies_for_actor | user: seeded, selectivity: high, policies: 269 | Flame Graph | |
| resolve_policies_for_actor | user: seeded, selectivity: low, policies: 1 | Flame Graph | |
| resolve_policies_for_actor | user: seeded, selectivity: medium, policies: 107 | Flame Graph | |
| resolve_policies_for_actor | user: system, selectivity: high, policies: 133 | Flame Graph | |
| resolve_policies_for_actor | user: system, selectivity: low, policies: 1 | Flame Graph | |
| resolve_policies_for_actor | user: system, selectivity: medium, policies: 63 | Flame Graph |
policy_resolution_none
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| resolve_policies_for_actor | user: empty, selectivity: high, policies: 2 | Flame Graph | |
| resolve_policies_for_actor | user: empty, selectivity: low, policies: 1 | Flame Graph | |
| resolve_policies_for_actor | user: empty, selectivity: medium, policies: 1 | Flame Graph | |
| resolve_policies_for_actor | user: system, selectivity: high, policies: 8 | Flame Graph | |
| resolve_policies_for_actor | user: system, selectivity: low, policies: 1 | Flame Graph | |
| resolve_policies_for_actor | user: system, selectivity: medium, policies: 3 | Flame Graph |
policy_resolution_small
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| resolve_policies_for_actor | user: empty, selectivity: high, policies: 52 | Flame Graph | |
| resolve_policies_for_actor | user: empty, selectivity: low, policies: 1 | Flame Graph | |
| resolve_policies_for_actor | user: empty, selectivity: medium, policies: 25 | Flame Graph | |
| resolve_policies_for_actor | user: seeded, selectivity: high, policies: 94 | Flame Graph | |
| resolve_policies_for_actor | user: seeded, selectivity: low, policies: 1 | Flame Graph | |
| resolve_policies_for_actor | user: seeded, selectivity: medium, policies: 26 | Flame Graph | |
| resolve_policies_for_actor | user: system, selectivity: high, policies: 66 | Flame Graph | |
| resolve_policies_for_actor | user: system, selectivity: low, policies: 1 | Flame Graph | |
| resolve_policies_for_actor | user: system, selectivity: medium, policies: 29 | Flame Graph |
read_scaling_complete
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| entity_by_id;one_depth | 1 entities | Flame Graph | |
| entity_by_id;one_depth | 10 entities | Flame Graph | |
| entity_by_id;one_depth | 25 entities | Flame Graph | |
| entity_by_id;one_depth | 5 entities | Flame Graph | |
| entity_by_id;one_depth | 50 entities | Flame Graph | |
| entity_by_id;two_depth | 1 entities | Flame Graph | |
| entity_by_id;two_depth | 10 entities | Flame Graph | |
| entity_by_id;two_depth | 25 entities | Flame Graph | |
| entity_by_id;two_depth | 5 entities | Flame Graph | |
| entity_by_id;two_depth | 50 entities | Flame Graph | |
| entity_by_id;zero_depth | 1 entities | Flame Graph | |
| entity_by_id;zero_depth | 10 entities | Flame Graph | |
| entity_by_id;zero_depth | 25 entities | Flame Graph | |
| entity_by_id;zero_depth | 5 entities | Flame Graph | |
| entity_by_id;zero_depth | 50 entities | Flame Graph |
read_scaling_linkless
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| entity_by_id | 1 entities | Flame Graph | |
| entity_by_id | 10 entities | Flame Graph | |
| entity_by_id | 100 entities | Flame Graph | |
| entity_by_id | 1000 entities | Flame Graph | |
| entity_by_id | 10000 entities | Flame Graph |
representative_read_entity
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1
|
Flame Graph | |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1
|
Flame Graph | |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1
|
Flame Graph | |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1
|
Flame Graph | |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2
|
Flame Graph | |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1
|
Flame Graph | |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1
|
Flame Graph | |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1
|
Flame Graph | |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1
|
Flame Graph |
representative_read_entity_type
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| get_entity_type_by_id | Account ID: bf5a9ef5-dc3b-43cf-a291-6210c0321eba
|
Flame Graph |
representative_read_multiple_entities
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| entity_by_property | traversal_paths=0 | 0 | |
| entity_by_property | traversal_paths=255 | 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true | |
| entity_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false | |
| entity_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true | |
| entity_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true | |
| entity_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true | |
| link_by_source_by_property | traversal_paths=0 | 0 | |
| link_by_source_by_property | traversal_paths=255 | 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true | |
| link_by_source_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false | |
| link_by_source_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true | |
| link_by_source_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true | |
| link_by_source_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true |
scenarios
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| full_test | query-limited | Flame Graph | |
| full_test | query-unlimited | Flame Graph | |
| linked_queries | query-limited | Flame Graph | |
| linked_queries | query-unlimited | Flame Graph |
0953197 to
2654f44
Compare
|
2654f44 to
285ee1f
Compare
20a437d to
6e5bad3
Compare
6e5bad3 to
533c802
Compare
533c802 to
7a89f6c
Compare
| "eslint-plugin-react-hooks": "7.0.1", | ||
| "eslint-plugin-storybook": "10.3.1", | ||
| "eslint-plugin-react-hooks": "7.1.1", | ||
| "eslint-plugin-storybook": "10.4.0", |
There was a problem hiding this comment.
Storybook plugin version mismatches PR description target
Medium Severity
eslint-plugin-storybook is updated to 10.4.0 across all three package.json files, but the PR description specifies the target version as 10.3.6. Version 10.4.0 is a minor version bump (not a patch), and the PR's release notes only cover changes up to 10.3.6, meaning any breaking changes or new behaviors in 10.3.7–10.4.0 have not been reviewed.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 7a89f6c. Configure here.
7a89f6c to
9e75051
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 9e75051. Configure here.
| "eslint-config-prettier": "10.1.8", | ||
| "eslint-config-sheriff": "31.3.0", | ||
| "eslint-import-resolver-node": "0.3.9", | ||
| "eslint-import-resolver-node": "0.4.0", |
There was a problem hiding this comment.
Wrong version: 0.4.0 instead of intended 0.3.10
Medium Severity
The PR description explicitly states eslint-import-resolver-node should update from 0.3.9 → 0.3.10 (a patch bump), but the actual change specifies 0.4.0 — a minor version bump that switches the underlying resolve dependency from ^1.22.4 to ^2.0.0-next.7 (a pre-release major version). This introduces a breaking change where preserveSymlinks defaults to false instead of true, potentially altering module resolution behavior during linting. The intended safe patch update became an unintended breaking upgrade.
Reviewed by Cursor Bugbot for commit 9e75051. Configure here.
9e75051 to
328ba4a
Compare
328ba4a to
13a1886
Compare


This PR contains the following updates:
2.2.1→2.3.00.3.9→0.4.07.0.1→7.1.11.17.2→1.53.110.3.1→10.4.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
antfu/eslint-config-flat-gitignore (eslint-config-flat-gitignore)
v2.3.0Compare Source
🚀 Features
recursiveoption - by @RayGuo-ergou in #23 (e4115)View changes on GitHub
import-js/eslint-plugin-import (eslint-import-resolver-node)
v0.4.0Compare Source
exportsfieldis-core-module,resolvev0.3.10Compare Source
is-core-module,resolverepository.directoryfieldfacebook/react (eslint-plugin-react-hooks)
v7.1.1Compare Source
Note: 7.1.0 accidentally removed the
component-hook-factoriesrule, causing errors for users who referenced it in their ESLint config. This is now fixed.component-hook-factoriesrule for backwards compatibility. (@mofeiZ in #36307)v7.1.0Compare Source
This release adds ESLint v10 support, improves performance by skipping compilation for non-React files, and includes compiler lint improvements including better
set-state-in-effectdetection, improved ref validation, and more helpful error reporting.useEffectEventchecks in component syntax. (@jbrown215 in #35041)set-state-in-effectvalidation with fewer false negatives. (@jorge-cab in #35134, @josephsavona in #35147, @jackpope in #35214, @chesnokov-tony in #35419, @jsleitor in #36107)Rel1cx/eslint-react (eslint-plugin-react-x)
v1.53.1Compare Source
🐞 Fixes
web-api/no-leaked-event-listener, closes #1228 by @Rel1cx in #1229Full Changelog: Rel1cx/eslint-react@v1.53.0...v1.53.1
v1.53.0Compare Source
✨ New
🪄 Improvements
tsupwithtsdownby @Rel1cx in #1213Full Changelog: Rel1cx/eslint-react@v1.52.8...v1.53.0
v1.52.9Compare Source
🐞 Fixes
react-hooks-extrarules were not exported, closes #1207 by @Rel1cx in #1208Full Changelog: Rel1cx/eslint-react@v1.52.8...v1.52.9
v1.52.8Compare Source
🐞 Fixes
Full Changelog: Rel1cx/eslint-react@v1.52.7...v1.52.8
v1.52.7Compare Source
🐞 Fixes
f3083c7Full Changelog: Rel1cx/eslint-react@v1.52.6...v1.52.7
v1.52.6Compare Source
🐞 Fixes
naming-convention/component-namevalidation to continue on valid names, closes #1176 by @Rel1cx in #1177Full Changelog: Rel1cx/eslint-react@v1.52.5...v1.52.6
v1.52.5Compare Source
🐞 Fixes
is-from-reactutility indebug/is-from-reactrule and improveno-forward-refrule autofix handling, closes #1172 by @Rel1cx in #1173Full Changelog: Rel1cx/eslint-react@v1.52.4...v1.52.5
v1.52.4Compare Source
🐞 Fixes
Full Changelog: Rel1cx/eslint-react@v1.52.3...v1.52.4
v1.52.3Compare Source
🐞 Fixes
bunengine requirement frompackage.jsonfiles, closes #1157 by @Rel1cx in #1158Full Changelog: Rel1cx/eslint-react@v1.52.2...v1.52.3
v1.52.2Compare Source
🐞 Fixes
no-default-propsshould report only function components, closes #1131 by @Rel1cx in681b10aFull Changelog: Rel1cx/eslint-react@v1.52.1...v1.52.2
v1.52.1Compare Source
✨ New
no-missing-context-display-nameby @k-yle in #1128New Contributors
Full Changelog: Rel1cx/eslint-react@v1.51.3...v1.52.1
v1.51.3Compare Source
🐞 Fixes
jsx-no-iifeandjsx-uses-varsrules by @Rel1cx in #1127Full Changelog: Rel1cx/eslint-react@v1.51.2...v1.51.3
v1.51.2Compare Source
🐞 Fixes
prefer-read-only-propsby @Rel1cx in #1125🪄 Improvements
Full Changelog: Rel1cx/eslint-react@v1.51.1...v1.51.2
v1.51.1Compare Source
🐞 Fixes
Full Changelog: Rel1cx/eslint-react@v1.51.0...v1.51.1
v1.51.0Compare Source
✨ New
jsx-no-iiferule, closes #1112 by @Rel1cx in #1113🐞 Fixes
no-direct-set-state-in-use-effectdeferred setState calls detection, closes #1117 by @Rel1cx in #1119Full Changelog: Rel1cx/eslint-react@v1.50.0...v1.51.0
v1.50.0Compare Source
🐞 Fixes
polymorphicPropNamenot work withno-void-elements-with-childrenby @huynhducduy in #1108zod, closes #1110New Contributors
Full Changelog: Rel1cx/eslint-react@v1.49.0...v1.50.0
v1.49.0Compare Source
✨ New
jsx-key-before-spread, closes #1093, closes #1087 by @Rel1cx in #1105Full Changelog: Rel1cx/eslint-react@v1.48.5...v1.49.0
v1.48.5Compare Source
🐞 Fixes
Full Changelog: Rel1cx/eslint-react@v1.48.4...v1.48.5
v1.48.4Compare Source
🐞 Fixes
Full Changelog: Rel1cx/eslint-react@v1.48.3...v1.48.4
v1.48.3Compare Source
🪄 Improvements
web-api/no-leaked-event-listenerdocs by @Rel1cx in #1082Full Changelog: Rel1cx/eslint-react@v1.48.2...v1.48.3
v1.48.2Compare Source
🐞 Fixes
hooks-extra/no-direct-set-state-in-use-effectin pluginreact-hooks-extra, closes #1077 by @Rel1cx in #1078Full Changelog: Rel1cx/eslint-react@v1.48.1...v1.48.2
v1.48.1Compare Source
🐞 Fixes
eslint-plugin-react-hookby @Rel1cx in #1074hooks-extra/no-unnecessary-use-prefixby @Rel1cx in #1073Full Changelog: Rel1cx/eslint-react@v1.47.4...v1.48.0
v1.47.4Compare Source
🐞 Fixes
hooks-extra/no-unnecessary-use-prefixto skip well-known hooks likeuseMDXComponentsby @Rel1cx in #1072Full Changelog: Rel1cx/eslint-react@v1.47.3...v1.47.4
v1.47.3Compare Source
🐞 Fixes
no-leaked-conditional-renderingwhen logical expressions are wrapped by type expressions by @Rel1cx in #1068Full Changelog: Rel1cx/eslint-react@v1.47.2...v1.47.3
v1.47.2Compare Source
🐞 Fixes
Full Changelog: Rel1cx/eslint-react@v1.47.1...v1.47.2
v1.47.1Compare Source
🐞 Fixes
Full Changelog: Rel1cx/eslint-react@v1.47.0...v1.47.1
v1.47.0Compare Source
🪄 Improvements
@eslint-react/jsxpackage and move functionality to@eslint-react/coreby @Rel1cx in #1060Full Changelog: Rel1cx/eslint-react@v1.46.0...v1.47.0
v1.46.0Compare Source
✨ New
Full Changelog: Rel1cx/eslint-react@v1.45.3...v1.45.4
v1.45.4Compare Source
🪄 Improvements
MapwithWeakMapby @Rel1cx in #1057Full Changelog: Rel1cx/eslint-react@v1.45.3...v1.45.4
v1.45.3Compare Source
🪄 Improvements
picomatch.makeRewithRE.toRegExpfor pattern matching by @Rel1cx in #1055Full Changelog: Rel1cx/eslint-react@v1.45.2...v1.45.3
v1.45.2Compare Source
🪄 Improvements
b880cb9Full Changelog: Rel1cx/eslint-react@v1.45.1...v1.45.2
v1.45.1Compare Source
🐞 Fixes
hooks-extra/no-unnecessary-use-prefixcase sensitivity fails, closes #1053 by @Rel1cx in #1054Full Changelog: Rel1cx/eslint-react@v1.45.0...v1.45.1
v1.45.0Compare Source
✨ New
no-misused-capture-owner-stackrule, closes #1049 by @Rel1cx in #1047no-nested-lazy-component-declarationsrule, closes #1048 by @Rel1cx in #1052no-nested-lazy-component-declarationsrule to recommended presets by @Rel1cxFull Changelog: Rel1cx/eslint-react@v1.44.0...v1.45.0
v1.43.0Compare Source
✨ New
no-string-refs, closes #1044 by @Rel1cx in #1045Full Changelog: Rel1cx/eslint-react@v1.42.1...v1.43.0
v1.42.1Compare Source
✨ New
corepreset toxby @Rel1cx in #1042📝 Changes you should be aware of
The following presets have been renamed:
coretoxcore-legacytox-legacyThe 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.0Compare Source
v1.41.0Compare Source
✨ New
debug/jsxrule by @Rel1cx in #1041Full Changelog: Rel1cx/eslint-react@v1.40.4...1.41.0
v1.40.4Compare Source
🐞 Fixes
Full Changelog: Rel1cx/eslint-react@v1.40.3...v1.40.4
v1.40.3Compare Source
🐞 Fixes
no-useless-fragmentfalse positive when using , closes #1035 by @Rel1cx in #1036Full Changelog: Rel1cx/eslint-react@v1.40.2...v1.40.3
v1.40.2Compare Source
🐞 Fixes
jsx-uses-reactrule forpreservemode by @Rel1cx in #1031🪄 Improvements
LanguagePreferenceSchemaby @Rel1cx in #1033Full Changelog: Rel1cx/eslint-react@v1.40.1...v1.40.2
v1.40.1Compare Source
✨ New
jsx-uses-reactrule to support@jsxand@jsxFragannotation comments by @Rel1cx in #1029LanguagePreferenceby @Rel1cx in #1028Full Changelog: Rel1cx/eslint-react@v1.40.0...v1.40.1
v1.40.0Compare Source
✨ New
jsx-uses-reactrule by @Rel1cx in #1027jsx-uses-reactrule in recommended presets by @Rel1cx in #1027naming-convention/context-namerule in recommended presets by @Rel1cx in #1024JsxRuntimemodule by @Rel1cx in #1025Full Changelog: Rel1cx/eslint-react@v1.38.4...v1.40.0
v1.38.4Compare Source
🪄 Improvements
Full Changelog: Rel1cx/eslint-react@v1.38.3...v1.38.4
v1.38.3Compare Source
🪄 Improvements
e0e4d46Full Changelog: Rel1cx/eslint-react@v1.38.2...v1.38.3
v1.38.2Compare Source
🐞 Fixes
prefer-shorthand-*rules inallconfig by @Rel1cx ina9e6ef9Full Changelog: Rel1cx/eslint-react@v1.38.0...v1.38.2
v1.38.1Compare Source
v1.38.0Compare Source
✨ New
jsx-no-undefrule, closes #1016 by @Rel1cx in #1018hooks-extra/prefer-use-state-lazy-initializationrule to recommended presets by @Rel1cx in #1019🪄 Improvements
jsx-uses-varsandjsx-no-duplicate-propsrules by @Rel1cx in #1017Full Changelog: Rel1cx/eslint-react@v1.37.3...v1.38.0
v1.37.3Compare Source
🐞 Fixes
ts-api-utilsdoes not provide an export namedunionConstituents, closes #1009 by @Rel1cx in #1010Full Changelog: Rel1cx/eslint-react@v1.37.2...v1.37.3
v1.37.2Compare Source
🐞 Fixes
prefer-read-only-propsfalse positive using React types, closes #962 by @Rel1cx in #1008Full Changelog: Rel1cx/eslint-react@v1.37.1...v1.37.2
v1.37.1Compare Source
🐞 Fixes
hooks-extra/prefer-use-state-lazy-initializationto correctly detect other hooks called withinuseState(...)by @Rel1cx in #1006🪄 Improvements
Full Changelog: Rel1cx/eslint-react@v1.37.0...v1.37.1
v1.37.0Compare Source
🪄 Improvements
hooks-extra/prefer-use-state-lazy-initializationfrom recommended presets by @Rel1cx in #1001Full Changelog: Rel1cx/eslint-react@v1.36.3...v1.37.0
v1.36.3Compare Source
🐞 Fixes
hooks-extra/prefer-use-state-lazy-initializationfalse positive onuseState(use(promise))closes #999 by @Rel1cx in #1000Full Changelog: Rel1cx/eslint-react@v1.36.2...v1.36.3
v1.36.2Compare Source
No notable changes have been made in this release.
Full Changelog: Rel1cx/eslint-react@v1.36.1...v1.36.2
v1.36.1Compare Source
🪄 Improvements
Full Changelog: Rel1cx/eslint-react@v1.35.0...v1.36.1
v1.35.0Compare Source
✨ New
no-renderrule to replaceReactDOM.render()withcreateRoot(node).render(), closes #972 by @Rel1cx in #993no-hydraterule to replaceReactDOM.hydrate()withhydrateRoot(), closes #973 by @Rel1cx in #995🪄 Improvements
hooks-extra/no-useless-custom-hookstohooks-extra/no-unnecessary-use-prefixby @Rel1cx in #996📝 Changes you should be aware of
The following rules have been renamed:
hooks-extra/no-useless-custom-hookstohooks-extra/no-unnecessary-use-prefix@eslint-react/hooks-extra/no-useless-custom-hooksto@eslint-react/hooks-extra/no-unnecessary-use-prefixThe 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.1Compare Source
🐞 Fixes
no-context-provideron symbols namedProviderwhich are imported from third-party libs, closes #991 by @Rel1cx in #992Full Changelog: Rel1cx/eslint-react@v1.34.0...v1.34.1
v1.34.0Compare Source
🪄 Improvements
no-nested-componentsrule tono-nested-component-definitionsand update related docs by @Rel1cx in #990📝 Changes you should be aware of
The following rules have been renamed:
no-nested-componentstono-nested-component-definitions@eslint-react/no-nested-componentsto@eslint-react/no-nested-component-definitionsThe 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.0Compare Source
🐞 Fixes
no-flush-syncandno-void-elements-with-childrenin recommended presets by @Rel1cx in #988🪄 Improvements
ensure-forward-ref-using-reftono-useless-forward-refby @Rel1cx in #987📝 Changes you should be aware of
The following rules have been renamed:
ensure-forward-ref-using-reftono-useless-forward-ref@eslint-react/ensure-forward-ref-using-refto@eslint-react/no-useless-forward-refThe 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.1Compare Source
🐞 Fixes
no-context-providerreplaces<Provider>with<>, closes #984 by @Rel1cx in #985v1.32.0Compare Source
✨ New
🪄 Improvements
v1.31.0Compare Source
✨ New
🪄 Improvements
v1.30.2Compare Source
🐞 Fixes
setfunction in IIFE inside of hooks as its inside ofuseEffect,useLayoutEffect, closes #967 by @Rel1cx in #968v1.30.1Compare Source
🐞 Fixes
🪄 Improvements
New Contributors
v1.30.0Compare Source
✨ New
naming-convention/use-stateandnaming-convention/context-nameto recommended presets by @Rel1cx in #956🐞 Fixes
prefer-read-only-propsby @Rel1cx in #957naming-convention/component-namerule to follow eslint-plugin-react-hooks@5.0 by @Rel1cx in #959naming-convention/use-statefails with multiple words, closes #960 by @Rel1cx in #961v1.29.0Compare Source
✨ New
context-namerule by @Rel1cx in #952🐞 Fixes
naming-convention/use-stateworks in components only, closes #953 by @Rel1cx in #954🪄 Improvements
recommended-typescriptfor typescript files by @bluwy in #949New Contributors
v1.28.0Compare Source
✨ New
no-flush-syncrule by @Rel1cx in #942skipImportChecksetting by @Rel1cx🪄 Improvements
v1.27.0Compare Source
✨ New
no-missing-context-display-namerule by @Rel1cx in #941🪄 Improvements
useEffecttoadditionalHooksby @Rel1cx in #938no-duplicate-keyrule fromerrortowarnby @Rel1cx in #939v1.26.2Compare Source
🐞 Fixes
no-context-providerrule to include context name in error messages by @Rel1cx in #935v1.26.1Compare Source
No notable changes have been made in this release.
v1.26.0Compare Source
✨ New
v1.25.0Compare Source
✨ New
ts-blank-eslint-parserby @Rel1cxts-blank-eslint-parserby @Rel1cx🐞 Fixes
🪄 Improvements
v1.24.1Compare Source
🐞 Fixes
disable-debug,disable-dom, anddisable-web-apisconfigs, closes [#923](https://redirect.github.com/Rel1cx/eslint-react/issuesConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, 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 has been generated by Renovate Bot.