chore(deps): update eslint monorepo to v9 (major) #351
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.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
^8.57.1
->^9.0.0
^8.0.1
->^9.0.0
Release Notes
eslint/eslint (@eslint/js)
v9.36.0
Compare Source
Features
47afcf6
feat: correctpreserve-caught-error
edge cases (#20109) (Francesco Trotta)Bug Fixes
75b74d8
fix: add missing rule option types (#20127) (ntnyq)1c0d850
fix: updateeslint-all.js
to useObject.freeze
forrules
object (#20116) (루밀LuMir)7d61b7f
fix: add missing scope types toScope.type
(#20110) (Pixel998)7a670c3
fix: correct rule option typings inrules.d.ts
(#20084) (Pixel998)Documentation
b73ab12
docs: update examples to usedefineConfig
(#20131) (sethamus)31d9392
docs: fix typos (#20118) (Pixel998)c7f861b
docs: Update README (GitHub Actions Bot)6b0c08b
docs: Update README (GitHub Actions Bot)91f97c5
docs: Update README (GitHub Actions Bot)Chores
12411e8
chore: upgrade @eslint/js@9.36.0 (#20139) (Milos Djermanovic)488cba6
chore: package.json update for @eslint/js release (Jenkins)bac82a2
ci: simplify renovate configuration (#19907) (唯然)c00bb37
ci: bump actions/labeler from 5 to 6 (#20090) (dependabot[bot])fee751d
refactor: usedefaultOptions
in rules (#20121) (Pixel998)1ace67d
chore: update example to usedefineConfig
(#20111) (루밀LuMir)4821963
test: add missing loc information to error objects in rule tests (#20112) (루밀LuMir)b42c42e
chore: disallow use of deprecatedtype
property in core rule tests (#20094) (Milos Djermanovic)7bb498d
test: remove deprecatedtype
property from core rule tests (#20093) (Pixel998)e10cf2a
ci: bump actions/setup-node from 4 to 5 (#20089) (dependabot[bot])5cb0ce4
refactor: usemeta.defaultOptions
inpreserve-caught-error
(#20080) (Pixel998)f9f7cb5
chore: package.json update for eslint-config-eslint release (Jenkins)81764b2
chore: updateeslint
peer dependency ineslint-config-eslint
(#20079) (Milos Djermanovic)v9.35.0
Compare Source
v9.34.0
Compare Source
v9.33.0
Compare Source
v9.32.0
Compare Source
v9.31.0
Compare Source
v9.30.1
Compare Source
v9.30.0
Compare Source
v9.29.0
Compare Source
v9.28.0
Compare Source
Features
b0674be
feat: Customization of serialization for languageOptions (#19760) (Nicholas C. Zakas)a95721f
feat: Add--pass-on-unpruned-suppressions
CLI option (#19773) (Milos Djermanovic)bfd0e7a
feat: support TypeScript syntax inno-use-before-define
(#19566) (Tanuj Kanti)68c61c0
feat: support TS syntax inno-shadow
(#19565) (Nitin Kumar)0f773ef
feat: support TS syntax inno-magic-numbers
(#19561) (Nitin Kumar)c4a6b60
feat: add allowTypeAnnotation to func-style (#19754) (sethamus)b03ad17
feat: add TypeScript support toprefer-arrow-callback
(#19678) (Tanuj Kanti)bc3c331
feat: ignore overloaded function declarations in func-style rule (#19755) (sethamus)Bug Fixes
eea3e7e
fix: Remove configured global variables fromGlobalScope#implicit
(#19779) (Milos Djermanovic)a467de3
fix: update context.report types (#19751) (Nitin Kumar)fd467bb
fix: remove interopDefault to use jiti's default (#19697) (sethamus)72d16e3
fix: avoid false positive inno-unassigned-vars
for declare module (#19746) (Azat S.)81c3c93
fix: curly types (#19750) (Eli)Documentation
3ec2082
docs: Nested arrays in files config entry (#19799) (Nicholas C. Zakas)89a65b0
docs: clarify how config arrays can apply to subsets of files (#19788) (Shais Ch)2ba8a0d
docs: Add description of meta.namespace to plugin docs (#19798) (Nicholas C. Zakas)59dd7e6
docs: updatefunc-style
with examples (#19793) (Tanuj Kanti)e9129e0
docs: add global scope'simplicit
field to Scope Manager docs (#19770) (Milos Djermanovic)52f5b7a
docs: fix minor typos and add links (#19743) (루밀LuMir)00716a3
docs: upfront recommend against using the no-return-await rule (#19727) (Mike DiDomizio)Chores
175b7b8
chore: upgrade to@eslint/[email protected]
(#19802) (Francesco Trotta)844f5a6
chore: package.json update for @eslint/js release (Jenkins)62b1c1b
chore: update globals to v16 (#19791) (Nitin Kumar)e8a1cb8
chore: ignore jiti-v2.0 & jiti-v2.1 for renovate (#19786) (Nitin Kumar)43d3975
chore: Add Copilot Instructions file (#19753) (Nicholas C. Zakas)2dfb5eb
test: updateSourceCodeTraverser
tests (#19763) (Milos Djermanovic)5bc21f9
chore: add*.code-workspace
to.gitignore
(#19771) (루밀LuMir)f4fa40e
refactor: NodeEventGenerator -> SourceCodeTraverser (#19679) (Nicholas C. Zakas)0f49329
refactor: use a service to emit warnings (#19725) (Francesco Trotta)20a9e59
chore: update dependency shelljs to ^0.10.0 (#19740) (renovate[bot])v9.27.0
Compare Source
v9.26.0
Compare Source
Features
e9754e7
feat: add reportGlobalThis to no-shadow-restricted-names (#19670) (sethamus)0fa2b7a
feat: add suggestions foreqeqeq
rule (#19640) (Nitin Kumar)dcbdcc9
feat: Add MCP server (#19592) (Nicholas C. Zakas)2dfd83e
feat: addignoreDirectives
option inno-unused-expressions
(#19645) (sethamus)Bug Fixes
96e84de
fix: check cache file existence before deletion (#19648) (sethamus)d683aeb
fix: don't crash on tests with circular references inRuleTester
(#19664) (Milos Djermanovic)9736d5d
fix: addnamespace
toPlugin.meta
type (#19661) (Milos Djermanovic)17bae69
fix: updateRuleTester.run()
type (#19634) (Nitin Kumar)Documentation
dd98d63
docs: Update README (GitHub Actions Bot)c25e858
docs: Update README (GitHub Actions Bot)b2397e9
docs: Update README (GitHub Actions Bot)addd0a6
docs: fix formatting of unordered lists in Markdown (#19660) (Milos Djermanovic)a21b38d
docs: Update README (GitHub Actions Bot)c0721a7
docs: fix double space in command (#19657) (CamWass)Chores
5b247c8
chore: upgrade to@eslint/[email protected]
(#19681) (Francesco Trotta)d6fa4ac
chore: package.json update for @eslint/js release (Jenkins)0958690
chore: disambiguate internal typesLanguageOptions
andRule
(#19669) (Francesco Trotta)f1c858e
chore: fix internal type references toPlugin
andRule
(#19665) (Francesco Trotta)40dd299
refactor: One-shot ESQuery selector analysis (#19652) (Nicholas C. Zakas)1cfd702
chore: update dependency @eslint/json to ^0.12.0 (#19656) (renovate[bot])v9.25.1
Compare Source
Bug Fixes
cdc8e8c
fix: revert directive detection in no-unused-expressions (#19639) (sethamus)Chores
1f2b057
chore: upgrade @eslint/js@9.25.1 (#19642) (Milos Djermanovic)771317f
chore: package.json update for @eslint/js release (Jenkins)v9.25.0
Compare Source
Features
dcd95aa
feat: support TypeScript syntax in no-empty-function rule (#19551) (sethamus)77d6d5b
feat: support TS syntax inno-unused-expressions
(#19564) (Sweta Tanwar)90228e5
feat: supportJSRuleDefinition
type (#19604) (루밀LuMir)59ba6b7
feat: add allowObjects option to no-restricted-properties (#19607) (sethamus)db650a0
feat: support TypeScript syntax inno-invalid-this
rule (#19532) (Tanuj Kanti)9535cff
feat: support TS syntax inno-loop-func
(#19559) (Nitin Kumar)Bug Fixes
910bd13
fix:nodeTypeKey
not being used inNodeEventGenerator
(#19631) (StyleShit)Documentation
ca7a735
docs: updateno-undef-init
when not to use section (#19624) (Tanuj Kanti)1b870c9
docs: useeslint-config-xo
in the getting started guide (#19629) (Nitin Kumar)5d4af16
docs: add types for multiple rule options (#19616) (Tanuj Kanti)e8f8d57
docs: Update README (GitHub Actions Bot)a40348f
docs: no-use-before-define tweaks (#19622) (Kirk Waiblinger)0ba3ae3
docs: Update README (GitHub Actions Bot)865dbfe
docs: ensure "learn more" deprecation links point to useful resource (#19590) (Kirk Waiblinger)f80b746
docs: add known limitations for no-self-compare (#19612) (Nitin Kumar)865aed6
docs: Update README (GitHub Actions Bot)Chores
88dc196
chore: upgrade @eslint/js@9.25.0 (#19636) (Milos Djermanovic)345288d
chore: package.json update for @eslint/js release (Jenkins)affe6be
chore: upgrade trunk (#19628) (sethamus)dd20cf2
test: fixno-loop-func
test with duplicate variable reports (#19610) (Milos Djermanovic)bd05397
chore: upgrade@eslint/*
dependencies (#19606) (Milos Djermanovic)22ea18b
chore: replace invalidint
type withnumber
inside JSDocs. (#19597) (Arya Emami)v9.24.0
Compare Source
Features
556c25b
feat: support loading TS config files using--experimental-strip-types
(#19401) (Arya Emami)72650ac
feat: support TS syntax ininit-declarations
(#19540) (Nitin Kumar)03fb0bc
feat: normalize patterns to handle "./" prefix in files and ignores (#19568) (Pixel998)071dcd3
feat: support TS syntax inno-dupe-class-members
(#19558) (Nitin Kumar)cd72bcc
feat: Introduce a way to suppress violations (#19159) (Iacovos Constantinou)2a81578
feat: support TS syntax inno-loss-of-precision
(#19560) (Nitin Kumar)30ae4ed
feat: add new options to class-methods-use-this (#19527) (sethamus)b79ade6
feat: support TypeScript syntax inno-array-constructor
(#19493) (Tanuj Kanti)Bug Fixes
b23d1c5
fix: deduplicate variable names in no-loop-func error messages (#19595) (Nitin Kumar)fb8cdb8
fix: useany[]
type forcontext.options
(#19584) (Francesco Trotta)Documentation
f857820
docs: update documentation for--experimental-strip-types
(#19594) (Nikolas Schröter)803e4af
docs: simplify gitignore path handling in includeIgnoreFile section (#19596) (Thomas Broyer)6d979cc
docs: Update README (GitHub Actions Bot)82177e4
docs: Update README (GitHub Actions Bot)e849dc0
docs: replace existing var with const (#19578) (Sweta Tanwar)0c65c62
docs: don't pass filename when linting rule examples (#19571) (Milos Djermanovic)6be36c9
docs: Update custom-rules.md code example of fixer (#19555) (Yifan Pan)Build Related
366e369
build: re-enable Prettier formatting forpackage.json
files (#19569) (Francesco Trotta)Chores
ef67420
chore: upgrade @eslint/js@9.24.0 (#19602) (Milos Djermanovic)4946847
chore: package.json update for @eslint/js release (Jenkins)a995acb
chore: correct 'flter'/'filter' typo in package script (#19587) (Josh Goldberg ✨)b9a5efa
test: skip symlink test on Windows (#19503) (fisker Cheung)46eea6d
chore: removeRule
&FormatterFunction
fromshared/types.js
(#19556) (Nitin Kumar)bdcc91d
chore: modify .editorconfig to keep parity with prettier config (#19577) (Sweta Tanwar)7790d83
chore: fix some typos in comment (#19576) (todaymoon)76064a6
test: ignorepackage-lock.json
foreslint-webpack-plugin
(#19572) (Francesco Trotta)v9.23.0
Compare Source
Features
557a0d2
feat: support TypeScript syntax in no-useless-constructor (#19535) (Josh Goldberg ✨)8320241
feat: support TypeScript syntax indefault-param-last
(#19431) (Josh Goldberg ✨)833c4a3
feat: defineConfig() supports "flat/" config prefix (#19533) (Nicholas C. Zakas)4a0df16
feat: circular autofix/conflicting rules detection (#19514) (Milos Djermanovic)be56a68
feat: support TypeScript syntax inclass-methods-use-this
(#19498) (Josh Goldberg ✨)Bug Fixes
0e20aa7
fix: move deprecatedRuleContext
methods to subtype (#19531) (Francesco Trotta)cc3bd00
fix: reporting variable used in catch block inno-useless-assignment
(#19423) (Tanuj Kanti)d46ff83
fix:no-dupe-keys
false positive with proto setter (#19508) (Milos Djermanovic)e732773
fix: navigation of search results on pressing Enter (#19502) (Tanuj Kanti)f4e9c5f
fix: allowRuleTester
to test files insidenode_modules/
(#19499) (fisker Cheung)Documentation
5405939
docs: show red underlines in TypeScript examples in rules docs (#19547) (Milos Djermanovic)48b53d6
docs: replace var with const in examples (#19539) (Nitin Kumar)c39d7db
docs: Update README (GitHub Actions Bot)a4f8760
docs: revert accidental changes (#19542) (Francesco Trotta)280128f
docs: add copy button (#19512) (xbinaryx)cd83eaa
docs: replacevar
withconst
in examples (#19530) (Nitin Kumar)7ff0cde
docs: Update README (GitHub Actions Bot)996cfb9
docs: migrate sass to module system (#19518) (xbinaryx)17cb958
docs: replacevar
withlet
andconst
in rule examples (#19515) (Tanuj Kanti)83e24f5
docs: Replace var with let or const (#19511) (Jenna Toff)a59d0c0
docs: Update docs for defineConfig (#19505) (Nicholas C. Zakas)fe92927
docs:require-unicode-regexp
add note fori
flag and\w
(#19510) (Chaemin-Lim)Build Related
2357edd
build: exclude autogenerated files from Prettier formatting (#19548) (Francesco Trotta)Chores
0ac8ea4
chore: update dependencies for v9.23.0 release (#19554) (Francesco Trotta)20591c4
chore: package.json update for @eslint/js release (Jenkins)901344f
chore: update dependency @eslint/json to ^0.11.0 (#19552) (renovate[bot])5228383
chore: fix update-readme formatting (#19544) (Milos Djermanovic)5439525
chore: format JSON files in Trunk (#19541) (Francesco Trotta)75adc99
chore: enabled Prettier in Trunk (#19354) (Josh Goldberg ✨)2395168
chore: added .git-blame-ignore-revs for Prettier via trunk fmt (#19538) (Josh Goldberg ✨)129882d
chore: formatted files with Prettier via trunk fmt (#19355) (Josh Goldberg ✨)1738dbc
chore: temporarily disable prettier in trunk (#19537) (Josh Goldberg ✨)dc854fd
chore: update dependency shelljs to ^0.9.0 (#19524) (renovate[bot])5d57496
chore: fix some comments (#19525) (jimmycathy)9c5c6ee
test: fix an assertion failure (#19500) (fisker Cheung)7a699a6
chore: remove formatting-related lint rules internally (#19473) (Josh Goldberg ✨)c99db89
test: replace WebdriverIO with Cypress (#19465) (Pixel998)v9.22.0
Compare Source
Features
7ddb095
feat: Export defineConfig, globalIgnores (#19487) (Nicholas C. Zakas)Bug Fixes
19c0127
fix: improve message forno-console
suggestions (#19483) (Francesco Trotta)49e624f
fix: improve error message for falsy parsed JS AST (#19458) (Josh Goldberg ✨)Documentation
86c5f37
docs: Update README (GitHub Actions Bot)fbdeff0
docs: Update README (GitHub Actions Bot)c9e8510
docs: generate deprecation notice in TSDoc comments from rule metadata (#19461) (Francesco Trotta)2f386ad
docs: replacevar
withconst
in rule examples (#19469) (Tanuj Kanti)0e688e3
docs: Update README (GitHub Actions Bot)06b596d
docs: Restore the carrot to the position where the search input was lost (#19459) (Amaresh S M)Chores
97f788b
chore: upgrade @eslint/js@9.22.0 (#19489) (Milos Djermanovic)eed409a
chore: package.json update for @eslint/js release (Jenkins)f9a56d3
chore: upgrade eslint-scope@8.3.0 (#19488) (Milos Djermanovic)v9.21.0
Compare Source
Features
418717f
feat: introduce new deprecated types for rules (#19238) (fnx)5c5b802
feat: Add--ext
CLI option (#19405) (Milos Djermanovic)Bug Fixes
db5340d
fix: update missing plugin message template (#19445) (Milos Djermanovic)d8ffdd4
fix: do not exit process on rule crash (#19436) (Francesco Trotta)Documentation
c5561ea
docs: Update README (GitHub Actions Bot)80b0485
docs: replacevar
withlet
andconst
in rule example (#19434) (Tanuj Kanti)f67d5e8
docs: Update README (GitHub Actions Bot)75afc61
docs: Update README (GitHub Actions Bot)0636cab
docs: Update Eleventy from v2 to v3 (#19415) (Amaresh S M)dd7d930
docs: Update README (GitHub Actions Bot)Chores
a8c9a9f
chore: update@eslint/eslintrc
and@eslint/js
(#19453) (Francesco Trotta)265e0cf
chore: package.json update for @eslint/js release (Jenkins)3401b85
test: add test forRule.ReportDescriptor
type (#19449) (Francesco Trotta)e497aa7
chore: update rewrite dependencies (#19448) (Francesco Trotta)dab5478
chore: better error message for missing plugin in config (#19402) (Tanuj Kanti)ebfe2eb
chore: set js language for bug report issue config block (#19439) (Josh Goldberg ✨)5fd211d
test: processors can return subpaths (#19425) (Milos Djermanovic)v9.20.0
Compare Source
Features
e89a54a
feat: change behavior of inactive flags (#19386) (Milos Djermanovic)Bug Fixes
91d4d9f
fix: Bring types in sync with @eslint/core (#19157) (Nicholas C. Zakas)fa25c7a
fix: Emit warning when empty config file is used (#19399) (Nicholas C. Zakas)31a9fd0
fix: Clearer error message for wrong plugin format (#19380) (Nicholas C. Zakas)61d99e3
fix: Better error message for unserializable parser (#19384) (Nicholas C. Zakas)db1b9a6
fix: Ensure module scope is checked for references inconsistent-this
(#19383) (Nicholas C. Zakas)8bcd820
fix:arrow-body-style
crash with single-token body (#19379) (Milos Djermanovic)Documentation
b7012c8
docs: rewrite examples with var using let and const (#19407) (Mueez Javaid Hashmi)6406376
docs: Update README (GitHub Actions Bot)350f2b9
docs: rewrite some examples with var using let and const (#19404) (Mueez Javaid Hashmi)93c325a
docs: rewrite examples with var using let and const (#19398) (Mueez Javaid Hashmi)56ff404
docs: replace var with let or const in rules docs (#19396) (Daniel Harbrueger)4053226
docs: changesourceType
inno-eval
examples (#19393) (Milos Djermanovic)1324af0
docs: replace var with let and const in rules docs (#19392) (Daniel Harbrueger)8b87e00
docs: replacevar
withconst
andlet
in rules (#19389) (Tanuj Kanti)758c66b
docs: Explain what frozen rules mean (#19382) (Nicholas C. Zakas)0ef8bb8
docs: additional checks for rule examples (#19358) (Milos Djermanovic)58ab2f6
docs: fix order of installation steps in getting started (#19326) (Tanuj Kanti)Chores
979097a
chore: upgrade @eslint/js@9.20.0 (#19412) (Francesco Trotta)031734e
chore: package.json update for @eslint/js release (Jenkins)d4c47c3
test: avoid empty config warning in test output (#19408) (Milos Djermanovic)67dd82a
chore: update dependency @eslint/json to ^0.10.0 (#19387) (renovate[bot])15ac0e1
chore: add permissions: read-all to stale.yml workflow (#19374) (Josh Goldberg ✨)v9.19.0
Compare Source
Features
1637b8e
feat: add--report-unused-inline-configs
(#19201) (Josh Goldberg ✨)Bug Fixes
aae6717
fix: sync rule type header comments automatically (#19276) (Francesco Trotta)Documentation
cfea9ab
docs: Clarify overrideConfig option (#19370) (Nicholas C. Zakas)2b84f66
docs: Update README (#19362) (Nicholas C. Zakas)044f93c
docs: clarify frozen rule description (#19351) (Pavel)797ee7c
docs: fix Bluesky links (#19368) (Milos Djermanovic)81a9c0e
](https://redConfiguration
📅 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.