Update dependency eslint to ^9.31.0 #331
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/eslint-9.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^9.26.0->^9.31.0Release Notes
eslint/eslint (eslint)
v9.31.0Compare Source
Features
35cf44cfeat: output full actual location in rule tester if different (#19904) (ST-DDT)a6a6325feat: support explicit resource management inno-loop-func(#19895) (Milos Djermanovic)4682cdcfeat: support explicit resource management inno-undef-init(#19894) (Milos Djermanovic)5848216feat: support explicit resource management ininit-declarations(#19893) (Milos Djermanovic)bb370b8feat: support explicit resource management inno-const-assign(#19892) (Milos Djermanovic)Bug Fixes
07fac6cfix: retry on EMFILE when writing autofix results (#19926) (TKDev7)28cc7abfix: Remove incorrect RuleContext types (#19910) (Nicholas C. Zakas)Documentation
664cb44docs: Update README (GitHub Actions Bot)40dbe2adocs: fix mismatch betweenglobalIgnores()code and text (#19914) (MaoShizhong)5a0069ddocs: Update README (GitHub Actions Bot)fef04b5docs: Update working on issues info (#19902) (Nicholas C. Zakas)Chores
3ddd454chore: upgrade to@eslint/js@9.31.0(#19935) (Francesco Trotta)d5054e5chore: package.json update for @eslint/js release (Jenkins)0f4a378chore: update eslint (#19933) (renovate[bot])76c2340chore: bump mocha to v11 (#19917) (루밀LuMir)v9.30.1Compare Source
Bug Fixes
e91bb87fix: allow separate default and named type imports (#19899) (xbinaryx)Documentation
ab7c625docs: Update README (GitHub Actions Bot)dae1e5bdocs: update jsdoc's link (#19896) (JamesVanWaza)Chores
b035f74chore: upgrade to@eslint/js@9.30.1(#19906) (Francesco Trotta)b3dbc16chore: package.json update for @eslint/js release (Jenkins)v9.30.0Compare Source
Features
52a5fcafeat: SupportbasePathproperty in config objects (#19879) (Milos Djermanovic)4ab4482feat: addallowSeparateTypeImportsoption tono-duplicate-imports(#19872) (sethamus)b8a7e7afeat: throw error when column is negative ingetIndexFromLoc(#19831) (루밀LuMir)Bug Fixes
6a0f164fix: handlenulltypelocingetIndexFromLocmethod (#19862) (루밀LuMir)3fbcd70fix: update error message forno-restricted-properties(#19855) (Tanuj Kanti)7ef4cf7fix: remove unnecessary semicolon from fixes (#19857) (Francesco Trotta)7dabc38fix: useprocess.versionin--env-info(#19865) (TKDev7)Documentation
8662ed1docs: adopt eslint-stylistic sub packages related changes (#19887) (ntnyq)20158b0docs: typo in comment for unused variables handling (#19870) (leopardracer)ebfb5b4docs: Fixed Typo in configuration-files.md (#19873) (0-20)4112fd0docs: clarify that boolean is still allowed for rulemeta.deprecated(#19866) (Bryan Mishkin)Chores
2b6491cchore: upgrade to@eslint/js@9.30.0(#19889) (Francesco Trotta)5a5d526chore: package.json update for @eslint/js release (Jenkins)eaf8a41chore: Correct typos in linter tests (#19878) (kilavvy)v9.29.0Compare Source
Features
f686fcbfeat: addecmaVersion: 2026, parsingusingandawait using(#19832) (Milos Djermanovic)19cdd22feat: prune suppressions for non-existent files (#19825) (TKDev7)b3d720ffeat: add ES2025 globals (#19835) (fisker Cheung)677a283feat: add auto-accessor fields support to class-methods-use-this (#19789) (sethamus)dbba058feat: allow global type declaration inno-var(#19714) (Remco Haszing)342bd29feat: ignore type annotations in no-restricted-globals (#19781) (sethamus)786bcd1feat: add allowProperties option to no-restricted-properties (#19772) (sethamus)05b66d0feat: addsourceCode.isGlobalReference(node)method (#19695) (Nitin Kumar)Bug Fixes
85c082cfix: explicit matching behavior with negated patterns and arrays (#19845) (Milos Djermanovic)9bda4a9fix: fixLintOptions.filterCodeBlocktypes (#19837) (ntnyq)7ab77a2fix: correct breaking deprecation of FlatConfig type (#19826) (Logicer)1ba3318fix: addlanguageanddialectstono-use-before-define(#19808) (Francesco Trotta)Documentation
00e3e6adocs: add support for custom name parameter toincludeIgnoreFile(#19795) (루밀LuMir)3aed075docs: Update README (GitHub Actions Bot)a2f888ddocs: enhance documentation with links and fix typos (#19761) (루밀LuMir)53c3235docs: update to clarify prompt usage (#19748) (Jennifer Davis)Chores
5c114c9chore: upgrade @eslint/js@9.29.0 (#19851) (Milos Djermanovic)acf2201chore: package.json update for @eslint/js release (Jenkins)a806994refactor: Remove eslintrc from flat config functionality (#19833) (Nicholas C. Zakas)152ed51test: switch to flat config mode in code path analysis tests (#19824) (Milos Djermanovic)b647239chore: Update first-party dependencies faster with Renovate (#19822) (Nicholas C. Zakas)7abe42erefactor: SafeEmitter -> SourceCodeVisitor (#19708) (Nicholas C. Zakas)e392895perf: improve time complexity ofgetLocFromIndex(#19782) (루밀LuMir)0ed289cchore: remove accidentally committed file (#19807) (Francesco Trotta)v9.28.0Compare Source
Features
b0674befeat: Customization of serialization for languageOptions (#19760) (Nicholas C. Zakas)a95721ffeat: Add--pass-on-unpruned-suppressionsCLI option (#19773) (Milos Djermanovic)bfd0e7afeat: support TypeScript syntax inno-use-before-define(#19566) (Tanuj Kanti)68c61c0feat: support TS syntax inno-shadow(#19565) (Nitin Kumar)0f773effeat: support TS syntax inno-magic-numbers(#19561) (Nitin Kumar)c4a6b60feat: add allowTypeAnnotation to func-style (#19754) (sethamus)b03ad17feat: add TypeScript support toprefer-arrow-callback(#19678) (Tanuj Kanti)bc3c331feat: ignore overloaded function declarations in func-style rule (#19755) (sethamus)Bug Fixes
eea3e7efix: Remove configured global variables fromGlobalScope#implicit(#19779) (Milos Djermanovic)a467de3fix: update context.report types (#19751) (Nitin Kumar)fd467bbfix: remove interopDefault to use jiti's default (#19697) (sethamus)72d16e3fix: avoid false positive inno-unassigned-varsfor declare module (#19746) (Azat S.)81c3c93fix: curly types (#19750) (Eli)Documentation
3ec2082docs: Nested arrays in files config entry (#19799) (Nicholas C. Zakas)89a65b0docs: clarify how config arrays can apply to subsets of files (#19788) (Shais Ch)2ba8a0ddocs: Add description of meta.namespace to plugin docs (#19798) (Nicholas C. Zakas)59dd7e6docs: updatefunc-stylewith examples (#19793) (Tanuj Kanti)e9129e0docs: add global scope'simplicitfield to Scope Manager docs (#19770) (Milos Djermanovic)52f5b7adocs: fix minor typos and add links (#19743) (루밀LuMir)00716a3docs: upfront recommend against using the no-return-await rule (#19727) (Mike DiDomizio)Chores
175b7b8chore: upgrade to@eslint/js@9.28.0(#19802) (Francesco Trotta)844f5a6chore: package.json update for @eslint/js release (Jenkins)62b1c1bchore: update globals to v16 (#19791) (Nitin Kumar)e8a1cb8chore: ignore jiti-v2.0 & jiti-v2.1 for renovate (#19786) (Nitin Kumar)43d3975chore: Add Copilot Instructions file (#19753) (Nicholas C. Zakas)2dfb5ebtest: updateSourceCodeTraversertests (#19763) (Milos Djermanovic)5bc21f9chore: add*.code-workspaceto.gitignore(#19771) (루밀LuMir)f4fa40erefactor: NodeEventGenerator -> SourceCodeTraverser (#19679) (Nicholas C. Zakas)0f49329refactor: use a service to emit warnings (#19725) (Francesco Trotta)20a9e59chore: update dependency shelljs to ^0.10.0 (#19740) (renovate[bot])v9.27.0Compare Source
Features
d71e37ffeat: Allow flags to be set in ESLINT_FLAGS env variable (#19717) (Nicholas C. Zakas)ba456e0feat: Externalize MCP server (#19699) (Nicholas C. Zakas)07c1a7efeat: addallowRegexCharacterstono-useless-escape(#19705) (sethamus)7bc6c71feat: add no-unassigned-vars rule (#19618) (Jacob Bandes-Storch)ee40364feat: convert no-array-constructor suggestions to autofixes (#19621) (sethamus)32957cdfeat: support TS syntax inmax-params(#19557) (Nitin Kumar)Bug Fixes
5687ce7fix: correct mismatched removed rules (#19734) (루밀LuMir)dc5ed33fix: correct types and tighten type definitions inSourceCodeclass (#19731) (루밀LuMir)de1b5defix: correctserviceproperty name inLinter.ESLintParseResulttype (#19713) (Francesco Trotta)60c3e2cfix: sort keys in eslint-suppressions.json to avoid git churn (#19711) (Ron Waldon-Howe)9da90cafix: addallowReservedtoLinter.ParserOptionstype (#19710) (Francesco Trotta)fbb8be9fix: addinfotoESLint.DeprecatedRuleUsetype (#19701) (Francesco Trotta)Documentation
25de550docs: Update description of frozen rules to mention TypeScript (#19736) (Nicholas C. Zakas)bd5def6docs: Clean up configuration files docs (#19735) (Nicholas C. Zakas)4d0c60ddocs: Add Neovim to editor integrations (#19729) (Maria José Solano)71317ebdocs: Update README (GitHub Actions Bot)4c289e6docs: Update README (GitHub Actions Bot)f0f0d46docs: clarify that unused suppressions cause non-zero exit code (#19698) (Milos Djermanovic)8ed3273docs: fix internal usages ofConfigDatatype (#19688) (Francesco Trotta)eb316a8docs: addfmtandchecksections toPackage.json Conventions(#19686) (루밀LuMir)a3a2559docs: fix wording in Combine Configs (#19685) (Milos Djermanovic)c8d17e1docs: Update README (GitHub Actions Bot)Chores
f8f1560chore: upgrade @eslint/js@9.27.0 (#19739) (Milos Djermanovic)ecaef73chore: package.json update for @eslint/js release (Jenkins)596fdc6chore: update dependency @arethetypeswrong/cli to ^0.18.0 (#19732) (renovate[bot])f791da0chore: remove unbalanced curly brace from.editorconfig(#19730) (Maria José Solano)e86edeerefactor: Consolidate Config helpers (#19675) (Nicholas C. Zakas)cf36352chore: remove shared types (#19718) (Francesco Trotta)f60f276refactor: Easier RuleContext creation (#19709) (Nicholas C. Zakas)58a171echore: update dependency @eslint/plugin-kit to ^0.3.1 (#19712) (renovate[bot])3a075a2chore: update dependency @eslint/core to ^0.14.0 (#19715) (renovate[bot])44bac9dci: run tests in Node.js 24 (#19702) (Francesco Trotta)35304ddchore: add missingfundingfield to packages (#19684) (루밀LuMir)f305bebtest: mockprocess.emitWarningto prevent output disruption (#19687) (Francesco Trotta)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
49b511c0a8to954d9caf34954d9caf34toa31fd46294a31fd46294to5db27944a15db27944a1to6f274ace636f274ace63tod521b329b1d521b329b1to8c96c926e78c96c926e7to11d4ebe8cb11d4ebe8cbto2c72c53d222c72c53d22to2357238d62Update dependency eslint to ^9.29.0to Update dependency eslint to ^9.30.02357238d62to8df0c487a5Update dependency eslint to ^9.30.0to Update dependency eslint to ^9.30.18df0c487a5to37413b7d1537413b7d15to40b6cffa9340b6cffa93to44aafa21b544aafa21b5to0f1ff8a8b40f1ff8a8b4todde01aa60cdde01aa60cto54f5bd263b54f5bd263btoc324f66f91c324f66f91tof4f9c9c729f4f9c9c729toebd26b83baUpdate dependency eslint to ^9.30.1to Update dependency eslint to ^9.31.0ebd26b83batobfc4a44397bfc4a44397to4c982c1ffc4c982c1ffcto53011f590053011f5900todefea9fb20defea9fb20toa28092f973a28092f973tobe77039cfcbe77039cfcto66b3ec399766b3ec3997toa76ae0f86ba76ae0f86btofd76e7efbdfd76e7efbdto3ead19b267