fix(deps): update eslint rules and plugins#420
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
54bb554 to
0125c13
Compare
0125c13 to
acbf6cc
Compare
acbf6cc to
9274c68
Compare
9274c68 to
b775daa
Compare
b775daa to
69437bd
Compare
69437bd to
9ab7803
Compare
9ab7803 to
a8fff8b
Compare
a8fff8b to
1a88b28
Compare
1a88b28 to
4acd88e
Compare
4acd88e to
2c5c749
Compare
2c5c749 to
2261191
Compare
2261191 to
ef8eec2
Compare
ef8eec2 to
5eeb4c6
Compare
5eeb4c6 to
c6197cd
Compare
c6197cd to
c69b9c7
Compare
c69b9c7 to
22899df
Compare
22899df to
5c87a21
Compare
5c87a21 to
629255a
Compare
629255a to
831d2ac
Compare
831d2ac to
8af6bc3
Compare
8af6bc3 to
dc567ec
Compare
dc567ec to
b35d666
Compare
b35d666 to
82baa2d
Compare
82baa2d to
ca70a78
Compare
ca70a78 to
aebc8a0
Compare
aebc8a0 to
ac6950b
Compare
ac6950b to
709aeaa
Compare
709aeaa to
2785955
Compare
2785955 to
19dbd41
Compare
19dbd41 to
a74fcc3
Compare
a74fcc3 to
3aaf767
Compare
3aaf767 to
afcc462
Compare
afcc462 to
4b30b3a
Compare
4b30b3a to
00f0051
Compare
00f0051 to
f167fad
Compare
f167fad to
109a22d
Compare
109a22d to
54b3283
Compare
54b3283 to
5f45188
Compare
5f45188 to
a442e03
Compare
a442e03 to
3d89e2f
Compare
3d89e2f to
ac847c3
Compare
ac847c3 to
36c52ae
Compare
36c52ae to
16eca85
Compare
16eca85 to
5418920
Compare
5418920 to
b6d13e4
Compare
b6d13e4 to
68d9561
Compare
68d9561 to
137c149
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.8.17→5.13.18.61.0→8.63.08.61.0→8.63.08.61.0→8.63.07.4.0→7.4.14.16.2→4.17.118.1.0→18.2.18.61.0→8.63.0Release Notes
Rel1cx/eslint-react (@eslint-react/eslint-plugin)
v5.13.1Compare Source
🐞 Fixes
react-x/refs: aligned error message wording forreadDuringRender,writeDuringRender, andrefPassedToFunctionwith the React Compiler specification.Full Changelog: Rel1cx/eslint-react@v5.13.0...v5.13.1
v5.13.0Compare Source
✨ New
react-x/refsnow detects nested property writes on a ref's value (e.g.ref.current.inner = value), which are now reported aswriteDuringRenderinstead of being misclassified as a read.react-x/refsnow tracks functions bound to (and called through) simple object-member-expression targets (e.g.object.foo = () => ref.current; object.foo();), closing a gap in the render-reachability analysis that previously only covered plain variable bindings.react-x/refsnow detectsref.currentaccesses inside the lazy initializer function passed directly asuseState's first argument, since it runs synchronously during the initial render unlike other hook-callback arguments.react-x/refsnow exempts calls to a function namedrender(e.g.props.render(ref), a common render-prop pattern) from therefPassedToFunctiondiagnostic, alongside the existingmergeRefs/hook exemptions.🐞 Fixes
react-x/refslazy-init guard-block detection so it is direction-aware: inside the branch of anif (ref.current == null)-style guard that is guaranteed to seeref.currentas null, only a direct write is treated as the (single) valid initialization; reads or values passed to a function there are still reported.🏗️ Internal
react-x/refsinternals, replacingisRefCurrentNullCheckwithgetRefCurrentNullCheckBranchinlib.ts.fumadocspackages andpreact.react-debug/jsxrule.Full Changelog: Rel1cx/eslint-react@v5.12.2...v5.13.0
v5.12.1Compare Source
📝 Documentation
react-x/immutabilityrule description in docs.🏗️ Internal
Full Changelog: Rel1cx/eslint-react@v5.12.0...v5.12.1
v5.12.0Compare Source
✨ New
react-x/immutabilityto align with the React Compiler'sValidateNoFreezingKnownMutableFunctionsvalidation pass: it now detects functions that (transitively) mutate a captured local variable and reports them when passed as a JSX prop, passed as a hook argument, or returned from a hook. (#1891)📝 Documentation
🏗️ Internal
typescript-eslintpackages to^8.63.0.eslint-plugin-perfectionistto^5.10.0.Full Changelog: Rel1cx/eslint-react@v5.11.3...v5.12.0
v5.11.3Compare Source
🐞 Fixes
FunctionComponentDetectionHint.DoNotIncludeFunctionDefinedAsClassPropertychecking for objectPropertynodes instead of classPropertyDefinitionnodes, so functions defined as class fields are now correctly excluded when the hint is set. (#1890)🏗️ Internal
MessageIDtypes.eslint-plugin-jsdoc,typedoc,undiciandpnpm.Full Changelog: Rel1cx/eslint-react@v5.11.2...v5.11.3
v5.11.2Compare Source
📝 Documentation
react-x/no-children-count,react-x/no-children-for-each,react-x/no-children-map,react-x/no-children-only,react-x/no-children-to-array, andreact-x/no-clone-element) with clearer guidance on why child introspection creates fragile component coupling and links to Astryx'sno-react-introspectionrule. (#1889)THIRD-PARTY-LICENSEfile.Full Changelog: Rel1cx/eslint-react@v5.11.0...v5.11.2
v5.11.0Compare Source
✨ New
react-x/refsnow detects ref mutations/reads inside helper functions that are called (directly, or through a simple variable alias) during render, closing a gap where any nested function was previously treated as a safe boundary regardless of whether it was actually invoked during render.react-x/refsnow reports a second guarded ref initialization: only a singleif (ref.current == null) { ref.current = ... }guarded initialization is allowed per ref per component/hook, and a second guarded write (in the same or a differentifblock) is reported asduplicateRefInit.react-x/refsnow supports.currentaccesses whose base is a member expression that looks like a ref (e.g.props.ref.current), not just a plain identifier.🏗️ Internal
packages/ast/src/check.ts.@effect/language-serviceto^0.86.4andpreactto^10.29.4.react-x/static-componentsinternals without changing behavior:findVariableForIdentifiernow delegates to@typescript-eslint/utils/ast-utils'sfindVariableinstead of a hand-rolled scope-chain walk,resolveDynamicValuewas split intofindDynamicCreationSiteandfindReassignmentCreationSite, and render-boundary/JSX-candidate handling was extracted into dedicated helpers.Check.isDirectiveandCheck.isIdentifierin@eslint-react/ast: both now take the node as the first argument and an optionalnameas the second, replacing the previous curried(name) => (node) => booleanshape. RemovedCheck.isStringLiteral; usets-pattern'sisMatchingor an inline type guard instead.Full Changelog: Rel1cx/eslint-react@v5.10.4...v5.11.0
v5.10.4Compare Source
🐞 Fixes
react-x/no-misused-capture-owner-stacknot recognizingprocess.env.NODE_ENVchecks wrapped in TypeScript type expressions such as(process.env as any).NODE_ENV. (#1813)Extract.getFullyQualifiedNameto unwrapTSAsExpression,TSTypeAssertion,TSNonNullExpression, andChainExpressionbefore resolving names. This improves name resolution for rules that identify React APIs or collect component/hook names through type-wrapped expressions.Full Changelog: Rel1cx/eslint-react@v5.10.3...v5.10.4
v5.10.3Compare Source
🏗️ Internal
typescript-eslintpackages to^8.62.1.@effect/language-serviceto^0.86.3.undiciandundici-typesto^8.6.0.@eslint-react/eslint-pluginpackage description.Full Changelog: Rel1cx/eslint-react@v5.10.2...v5.10.3
v5.10.2Compare Source
🐞 Fixes
<div {...{ [key]: value }} />) as static prop names. The actual property name is the runtime value of the variable; computed string literal keys are still recognized. Affected rules:react-x/no-missing-keyreact-jsx/no-children-prop-with-childrenreact-jsx/no-children-propreact-jsx/no-useless-fragmentreact-dom/no-dangerously-set-innerhtml-with-childrenreact-dom/no-dangerously-set-innerhtmlreact-dom/no-missing-button-typereact-dom/no-missing-iframe-sandboxreact-dom/no-string-style-propreact-dom/no-unsafe-iframe-sandboxreact-dom/no-unsafe-target-blankreact-dom/no-void-elements-with-childrenreact-web-api/no-leaked-event-listenerreact-web-api/no-leaked-fetchreact-x/unsupported-syntaxto no longer report IIFEs in JSX. This makes the rule consistent with the upstreamreact-hooks/unsupported-syntaxand removes theiifemessage.✨ New
react-x/unsupported-syntaxnow detectsevalcalls viaglobalThis.eval,globalThis["eval"], and type assertions like(globalThis as any).eval.🏗️ Internal
resolveparameter toExtract.getPropertyNameso callers can control how identifier and private identifier property names are resolved.Extract.getPropertyName.Full Changelog: Rel1cx/eslint-react@v5.10.1...v5.10.2
v5.10.1Compare Source
🐞 Fixes
static-componentsrule todisable-conflict-eslint-plugin-react-hooks, closes #1884.📝 Documentation
noCircularEffectrecipe sample to use@eslint-react/kitcollectors andsimpleTraverse, and updated the recipe overview accordingly.🏗️ Internal
typescript-eslint,@types/node,vite, andtailwindcss.fumadocs,lucide-react, andpostcssin the website.Full Changelog: Rel1cx/eslint-react@v5.10.0...v5.10.1
v5.10.0Compare Source
📝 Documentation
react-x/no-unused-state.🏗️ Internal
eslintto^10.6.0.js-yamlworkspace override to^4.3.0.Full Changelog: Rel1cx/eslint-react@v5.9.5...v5.10.0
v5.9.5Compare Source
🐞 Fixes
Compare.isEqualnow recognizes structurally identicalCallExpressionnodes. This fixes false positives in the following rules when the compared target (event target, controller, or observed element) is derived from a function call such aswindow.matchMedia('…')orgetEl():react-web-api/no-leaked-event-listenerreact-web-api/no-leaked-fetchreact-web-api/no-leaked-resize-observerreact-web-api/no-leaked-intersection-observerFull Changelog: Rel1cx/eslint-react@v5.9.4...v5.9.5
v5.9.4Compare Source
🐞 Fixes
obj["foo"]()):react-x/no-array-index-keyreact-x/no-duplicate-keyreact-x/no-unnecessary-use-prefixreact-x/set-state-in-effectreact-x/set-state-in-renderreact-dom/no-find-dom-nodereact-dom/no-flush-syncreact-dom/no-hydratereact-dom/no-renderreact-dom/no-render-return-valuereact-dom/no-use-form-statereact-web-api/no-leaked-fetch📝 Documentation
🏗️ Internal
Extract.getPropertyName(#1881).postinstalltoprepare.Full Changelog: Rel1cx/eslint-react@v5.9.3...v5.9.4
v5.9.3Compare Source
🐞 Fixes
ast: Corrected theTSESTreeJSXunion and handling of computed member expressions (#1877).jsx: Handled namespaced host elements and cleaned up the spread child API (#1876).📝 Documentation
import-paths.mdtopath-aliases.md.unwrapdocumentation.🏗️ Internal
RuleContextimports in the kit package.typescript-eslintpackages to^8.62.0and related dependencies.verify-*scripts tocheck-*.pnpm runwithnode --runacross scripts (#1879).nxto^23.0.1andpnpmto11.9.0.Full Changelog: Rel1cx/eslint-react@v5.9.2...v5.9.3
v5.9.2Compare Source
📝 Documentation
🏗️ Internal
pnpm/action-setupto install Node and pnpm in CI.baseline.jsontimestamp and quality signal.Full Changelog: Rel1cx/eslint-react@v5.9.1...v5.9.2
v5.9.1Compare Source
📝 Documentation
context-name,id-name, andref-name(#1873).react-x/unsupported-syntaxdocs.ast.unwrapexample from the kit package docs.🏗️ Internal
actions/checkouttov7.0.0(#1874).getHumanReadableKindfrom the ast package into the specific rules that use it.react-x/no-missing-keyintolib.ts.dprintline width to160and reformatted the codebase.eslintto^10.5.0and bumped miscellaneous dependencies.dprintJSON plugin tov0.22.0.DocsPagestyling, and prunedpnpmworkspace excludes.Full Changelog: Rel1cx/eslint-react@v5.9.0...v5.9.1
v5.9.0Compare Source
✨ New
react-web-api/no-leaked-intersection-observerrule to prevent leakedIntersectionObserverinstances in components and hooks, enabled aswarnin therecommendedpreset (#1841, #1868).🐞 Fixes
react-web-api/no-leaked-intersection-observer,react-web-api/no-leaked-resize-observer: Report whendisconnectis only called inside the observer's own callback, since the callback may never run if the component unmounts before the element intersects or resizes (#1872).🏗️ Internal
SECURITY.mddocumentation (#1871).fumadocs-coreandfumadocs-uito16.10.1.New Contributors
Full Changelog: Rel1cx/eslint-react@v5.8.19...v5.9.0
v5.8.19Compare Source
🏗️ Internal
isJsxLikein core package and added behavior boundary tests (#1869).@types/nodeto^25.9.3.Full Changelog: Rel1cx/eslint-react@v5.8.18...v5.8.19
v5.8.18Compare Source
🐞 Fixes
react-x/no-array-index-keyandreact-x/no-missing-keyrules (#1867).📝 Documentation
🏗️ Internal
postinstallscript on the website.textlintrules for inclusive language.eslintpeer dependency.Full Changelog: Rel1cx/eslint-react@v5.8.17...v5.8.18
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v8.63.0Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
v8.62.1Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
v8.62.0Compare Source
🚀 Features
❤️ Thank You
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
v8.61.1Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/rule-tester)
v8.63.0Compare Source
This was a version bump only for rule-tester to align it with other projects, there were no code changes.
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
v8.62.1Compare Source
This was a version bump only for rule-tester to align it with other projects, there were no code changes.
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
v8.62.0Compare Source
🚀 Features
❤️ Thank You
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
v8.61.1Compare Source
This was a version bump only for rule-tester to align it with other projects, there were no code changes.
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/utils)
v8.63.0Compare Source
This was a version bump only for utils to align it with other projects, there were no code changes.
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
v8.62.1Compare Source
This was a version bump only for utils to align it with other projects, there were no code changes.
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
v8.62.0Compare Source
🚀 Features
❤️ Thank You
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
v8.61.1Compare Source
This was a version bump only for utils to align it with other projects, there were no code changes.
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
eslint-community/eslint-plugin-eslint-plugin (eslint-plugin-eslint-plugin)
v7.4.1Compare Source
Bug Fixes
require-meta-*rules (0b08887)Chores
require-test-error-positionserrors in project (#624) (249bb44)un-ts/eslint-plugin-import-x (eslint-plugin-import-x)
v4.17.1Compare Source
Patch Changes
cf25a01Thanks @marcalexiei! - fix(extensions): don't require an extension for package subpaths that resolve to a.d.ts(e.g.vitest/config)v4.17.0Compare Source
Minor Changes
4b2c0c5Thanks @regseb! - SupportRegExpin theimport-x/ignoresetting and theignoreoption of theno-unresolvedrule.Patch Changes
#494
1c84235Thanks @morgan-coded! - Fixedno-unresolvedcrashing when case-sensitive path checks encounterEACCESorEPERMon an ancestor directory.#481
3e13121Thanks @B4nan! - fix: memoize legacyNodeResolve resolver to avoid native memory leak#484
9a07009Thanks @sairus2k! - Make theextensionsrule check Node.js subpath imports (specifiers starting with#, e.g.#utils/helper). PreviouslyparsePathtreated a leading#as a URL hash fragment, so the rule skipped extension validation for these imports.Note: single-segment subpath imports without a slash (e.g.
#dep) are still skipped by the existing external-root-module classification; fixing that is deferred to avoid expanding scope.#468
240ed58Thanks @silverwind! - Makeextensionshandle.d.tscorrectly#479
e3cc7e4Thanks @mrginglymus! - fix: strip querystrings and hash fragments when checking for file existence#476
fce29b1Thanks @nbouvrette! - fix(deps): replace @package-json/types with an inline minimal typeeslint-community/eslint-plugin-n (eslint-plugin-n)
v18.2.1Compare Source
🩹 Fixes
v18.2.0Compare Source
🌟 Features
module.exportsforrequire(esm)interop (#542) (04c99df)typescript-eslint/typescript-eslint (typescript-eslint)
v8.63.0Compare Source
This was a version bump only for typescript-eslint to align it with other projects, there were no code changes.
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
v8.62.1Compare Source
This was a version bump only for typescript-eslint to align it with other projects, there were no code changes.
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
v8.62.0Compare Source
🚀 Features
❤️ Thank You
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
v8.61.1Compare Source
This was a version bump only for typescript-eslint to align it with other projects, there were no code changes.
See GitHub Releases for more information.
You can read about our versioning strategy and releases on our website.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 was generated by Mend Renovate. View the repository job log.