chore(deps): update dependency eslint to v9 #187
Closed
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:
^8.57.1->^9.19.0Release Notes
eslint/eslint (eslint)
v9.19.0Compare Source
Features
1637b8efeat: add--report-unused-inline-configs(#19201) (Josh Goldberg ✨)Bug Fixes
aae6717fix: sync rule type header comments automatically (#19276) (Francesco Trotta)Documentation
cfea9abdocs: Clarify overrideConfig option (#19370) (Nicholas C. Zakas)2b84f66docs: Update README (#19362) (Nicholas C. Zakas)044f93cdocs: clarify frozen rule description (#19351) (Pavel)797ee7cdocs: fix Bluesky links (#19368) (Milos Djermanovic)81a9c0edocs: Update README (GitHub Actions Bot)093fb3ddocs: replacevarwithletandconstin rule examples (#19365) (Tanuj Kanti)417de32docs: replace var with const in rule examples (#19352) (jj)17f2aaedocs: update getting-started config to match default generated config (#19308) (0xDev)8a0a5a8docs: betterglobal ignoresinstruction (#19297) (Jacopo Marrone)6671a2cdocs: Update README (GitHub Actions Bot)e39d3f2docs: fix divider for rule category (#19264) (Tanuj Kanti)e0cf53fdocs: fix search result box position for small screens (#19328) (Tanuj Kanti)f92a680docs: replace var with let or const in rule examples (#19331) (Ravi Teja Kolla)b04b84bdocs: revert accidental changes in TS config files docs (#19336) (Francesco Trotta)Chores
9b9cb05chore: upgrade @eslint/js@9.19.0 (#19371) (Milos Djermanovic)58560e7chore: package.json update for @eslint/js release (Jenkins)2089707test: fix failing test in Node.js v22.13.0 (#19345) (Francesco Trotta)v9.18.0Compare Source
Features
e84e6e2feat: Report allowed methods forno-consolerule (#19306) (Anna Bocharova)8efc2d0feat: unflag TypeScript config files (#19266) (Francesco Trotta)87a9352feat: check imports and class names inno-shadow-restricted-names(#19272) (Milos Djermanovic)Bug Fixes
da768d4fix: correctoverrideConfigFiletype (#19289) (Francesco Trotta)Documentation
d9c23c5docs: replacevarwithconstin rule examples (#19325) (Tanuj Kanti)8e1a898docs: add tabs to cli code blocks (#18784) (Jay)f3aeefbdocs: rewrite using let and const in rule examples (#19320) (PoloSpark)0b680b3docs: Update README (GitHub Actions Bot)98c86a9docs:Edit this pagebutton link to different branches (#19228) (Tanuj Kanti)6947901docs: remove hardcoded edit link (#19323) (Milos Djermanovic)03f2f44docs: rewrite var with const in rules examples (#19317) (Thiago)26c3003docs: Clarify dangers of eslint:all (#19318) (Nicholas C. Zakas)c038257docs: addeqeqeqin related rules tono-eq-null(#19310) (루밀LuMir)89c8fc5docs: rewrite examples with var using let and const (#19315) (Amaresh S M)db574c4docs: add missing backticks tono-void(#19313) (루밀LuMir)8d943c3docs: add missing backticks todefault-case-last(#19311) (루밀LuMir)36ef8bbdocs: rewrite examples with var using let and const (#19298) (Amaresh S M)1610c9edocs: add missing backticks tono-else-return(#19309) (루밀LuMir)df409d8docs: Update README (GitHub Actions Bot)2e84213docs: Fix Horizontal Scroll Overflow in Rule Description on Mobile View (#19304) (Amaresh S M)6e7361bdocs: replacevarwithletandconstin rule example (#19302) (Tanuj Kanti)069af5edocs: rewritevarusingconstin rule examples (#19303) (Kim GyeonWon)064e35ddocs: remove 'I hope to' comments from scope-manager-interface (#19300) (Josh Goldberg ✨)8e00305docs: replacevarwithconstin rule examples (#19299) (Tanuj Kanti)a559009docs: Add warning about extending core rules (#19295) (Nicholas C. Zakas)0bfdf6cdocs: Update README (GitHub Actions Bot)ce0b9ffdocs: add navigation link forcode explorer(#19285) (Tanuj Kanti)e255cc9docs: add bluesky icon to footer (#19290) (Tanuj Kanti)5d64851docs: remove outdated info about environments (#19296) (Francesco Trotta)eec01f0docs: switch rule examples config format tolanguageOptions(#19277) (Milos Djermanovic)b36ca0adocs: Fixing Focus Order by Rearranging Element Sequence (#19241) (Amaresh S M)d122c8adocs: add missing backticks tosort-imports(#19282) (루밀LuMir)0367a70docs: update custom parser docs (#19288) (Francesco Trotta)8c07ebbdocs: addborder-radiustohX:targetselector styles (#19270) (루밀LuMir)eff7c57docs: add limitation section inno-loop-func(#19287) (Tanuj Kanti)5db226fdocs: add missing backticks in various parts of the documentation (#19269) (루밀LuMir)789edbbdocs: Update README (GitHub Actions Bot)613c06adocs: mark rules that are frozen with ❄️ (#19231) (Amaresh S M)43172ecdocs: Update README (GitHub Actions Bot)ac8b3c4docs: fix description ofoverrideConfigFileoption (#19262) (Milos Djermanovic)bbb9b46docs: Update README (GitHub Actions Bot)995b492docs: fix inconsistent divider in rule categories box (#19249) (Tanuj Kanti)f76d05ddocs: Refactor search result handling with better event listener cleanup (#19252) (Amaresh S M)c5f3d7ddocs: Update README (GitHub Actions Bot)Chores
c52be85chore: upgrade to@eslint/[email protected](#19330) (Francesco Trotta)362099cchore: package.json update for @eslint/js release (Jenkins)495aa49chore: extract packagenamefrompackage.jsonfor public interface (#19314) (루밀LuMir)6fe0e72chore: update dependency @eslint/json to ^0.9.0 (#19263) (renovate[bot])v9.17.0Compare Source
Features
eed91d1feat: add suggestions tono-unused-vars(#18352) (Tanuj Kanti)Bug Fixes
67d683dfix: fix crash whenmessage.fixis nullish (#19168) (ntnyq)c618707fix: ignore vars with non-identifier references in no-useless-assignment (#19200) (YeonJuan)Documentation
3c22d2adocs: updateyodatoYodainyoda.mdfor consistency (#19230) (루밀LuMir)e0a2203docs: add missing backticks tono-sequences(#19233) (루밀LuMir)4cc4881docs: Update README (GitHub Actions Bot)3db6fdfdocs: [no-await-in-loop] expand on benefits and inapplicability (#19211) (Kirk Waiblinger)bf2a4f6docs: add missing backticks tofunc-style(#19227) (루밀LuMir)ba098bddocs: add missing header toprefer-spread(#19224) (루밀LuMir)b607ae6docs: update description ofno-param-reassign(#19220) (루밀LuMir)1eb424ddocs: add missing backticks toprefer-destructuring(#19223) (루밀LuMir)85998d1docs: add missing backticks tono-unneeded-ternary(#19222) (루밀LuMir)b75b32cdocs: add missing backticks tono-new-func(#19219) (루밀LuMir)a7700bcdocs: add missing backticks toid-length(#19217) (루밀LuMir)e2bb429docs: add missing backticks tocomplexity.md(#19214) (루밀LuMir)045d716docs: add missing)toid-denylist(#19213) (루밀LuMir)7fe4114docs: Update README (GitHub Actions Bot)c743ba6docs: add CSS language tono-restricted-syntax(#19208) (Milos Djermanovic)1416d70docs: add missing backticks toeqeqeq(#19207) (루밀LuMir)b950c1bdocs: add missing backticks toprefer-object-spread(#19206) (루밀LuMir)8a941cbdocs: update docs anddescriptionofrequire-unicode-regexp(#19205) (루밀LuMir)cbab228docs: Update README (GitHub Actions Bot)f2257cedocs: update comments anddescriptionofno-script-url(#19203) (루밀LuMir)365f0f4docs: add missing backtick todefault-case-last(#19202) (루밀LuMir)e6b84f5docs: add missing punctuation in document (#19161) (루밀LuMir)c88708edocs: replace quote with backtick indescriptionoffor-direction(#19199) (루밀LuMir)a76f233docs: use higher contrast color tokens for code comments (#19187) (Josh Goldberg ✨)db19502docs: Update README (GitHub Actions Bot)Chores
cc243c9chore: upgrade to@eslint/[email protected](#19242) (Francesco Trotta)84c5787chore: package.json update for @eslint/js release (Jenkins)4c4f53bchore: add missing backticks toflags.js(#19226) (루밀LuMir)4b3132cchore: update dependency eslint-plugin-expect-type to ^0.6.0 (#19221) (renovate[bot])9bf2204chore: add type definitions for theeslint-config-eslintpackage (#19050) (Arya Emami)ee8c220chore: fix incorrectnameproperty inintegration-tutorial-code(#19218) (루밀LuMir)cca801dchore: Upgrade cross-spawn to 7.0.6 (#19185) (folortin)v9.16.0Compare Source
Features
8f70eb1feat: AddignoreComputedKeysoption insort-keysrule (#19162) (Milos Djermanovic)Documentation
9eefc8fdocs: fix typos inuse-isnan(#19190) (루밀LuMir)0c8cea8docs: switch the order of words inno-unreachable(#19189) (루밀LuMir)0c19417docs: add missing backtick tono-async-promise-executor(#19188) (루밀LuMir)8df9276docs: add backtick in-0indescriptionofno-compare-neg-zero(#19186) (루밀LuMir)7e16e3fdocs: fixcaseSensitiveoption's title ofsort-keys(#19183) (Tanuj Kanti)0c6b842docs: fix typos inmigration-guide.md(#19180) (루밀LuMir)353266edocs: fix a typo indebug.md(#19179) (루밀LuMir)5ff318adocs: delete unnecessary horizontal rule(---) innodejs-api(#19175) (루밀LuMir)576bcc5docs: mark more rules as handled by TypeScript (#19164) (Tanuj Kanti)742d054docs: note thatno-restricted-syntaxcan be used with any language (#19148) (Milos Djermanovic)Chores
feb703bchore: upgrade to@eslint/[email protected](#19195) (Francesco Trotta)df9bf95chore: package.json update for @eslint/js release (Jenkins)f831893chore: add type forignoreComputedKeysoption ofsort-keys(#19184) (Tanuj Kanti)3afb8a1chore: update dependency @eslint/json to ^0.8.0 (#19177) (Milos Djermanovic)1f77c53chore: addrepository.directoryproperty topackage.json(#19165) (루밀LuMir)d460594chore: update dependency @arethetypeswrong/cli to ^0.17.0 (#19147) (renovate[bot])45cd4earefactor: update default options in rules (#19136) (Milos Djermanovic)v9.15.0Compare Source
Features
01557cefeat: Implement Language#normalizeLanguageOptions() (#19104) (Nicholas C. Zakas)2edc0e2feat: add meta.defaultOptions (#17656) (Josh Goldberg ✨)bdec50efeat: fixno-useless-computed-keyfalse negative with__proto__(#19123) (Milos Djermanovic)3087c9efeat: addmetaobject to@eslint/jsplugin (#19095) (Francesco Trotta)Bug Fixes
fd33f13fix: update types forno-restricted-importsrule (#19060) (Nitin Kumar)bd35098fix: switch away from Node.js node:assert and AssertionError (#19082) (Josh Goldberg ✨)9db5b15fix: unsafe report forno-lonely-if(#19087) (Abraham Guo)68fa497fix: ignore files on a different drive on Windows (#19069) (Francesco Trotta)4ce625afix: upgrade @humanwhocodes/retry@0.4.1 to avoid debug logs (#19102) (Milos Djermanovic)Documentation
d927920docs: fix styles in no-js mode (#18916) (Tanuj Kanti)09bc2a8docs: Update README (GitHub Actions Bot)39089c8docs: addno-useless-computed-keyexamples with object patterns (#19109) (Milos Djermanovic)895c60fdocs: add missing messageId property and suggestion properties (#19122) (fnx)298625edocs: Change CLI -c to use flat config (#19103) (Nicholas C. Zakas)522d8a3docs: add deprecation onindent,quotesandsemirule types (#19090) (Marco Pasqualetti)Chores
2967d91chore: upgrade @eslint/js@9.15.0 (#19133) (Milos Djermanovic)b441beechore: package.json update for @eslint/js release (Jenkins)7d6bf4achore: upgrade @eslint/core@0.9.0 (#19131) (Milos Djermanovic)902e707chore: upgrade @eslint/plugin-kit@0.2.3 (#19130) (Milos Djermanovic)5ff6c1dchore: bump cross-spawn (#19125) (Ian Bobinac)cceccc7chore: update dependency @eslint/json to ^0.6.0 (#19117) (renovate[bot])0da3f73chore: update algolia referrer (#19114) (Strek)4f08332ci: unpintrunk-io/trunk-action(#19108) (Francesco Trotta)6b75683perf: optimizetext-tableby replacing regex withtrimEnd(#19061) (Nitin Kumar)v9.14.0Compare Source
Features
3fa009ffeat: add support for Import Attributes and RegExp Modifiers (#19076) (Milos Djermanovic)b0faee3feat: add types for the@eslint/jspackage (#19010) (Nitin Kumar)Bug Fixes
24d0172fix: enable retry concurrency limit for readFile() (#19077) (Nicholas C. Zakas)b442067fix: Don't crash when directory is deleted during traversal. (#19067) (Nicholas C. Zakas)d474443fix: avoid call stack overflow while processing globs (#19035) (Livia Medeiros)Documentation
151c965docs: updatecontext.languageOptions.parserdescription (#19084) (Nitin Kumar)dc34f94docs: Update README (GitHub Actions Bot)f16e846docs: Update README (GitHub Actions Bot)ee0a77edocs: change link from @types/eslint to lib/types (#19049) (Karl Horky)50f03a1docs: Clarify global ignores in config migration guide (#19032) (Milos Djermanovic)Build Related
37c9177build: update@wdio/*dependencies (#19068) (Francesco Trotta)35a8858build: exclude flawed dendency versions (#19065) (Francesco Trotta)Chores
f36cb16chore: upgrade @eslint/js@9.14.0 (#19086) (Milos Djermanovic)28be447chore: package.json update for @eslint/js release (Jenkins)f48a2a0test: addno-invalid-regexptests with RegExp Modifiers (#19075) (Milos Djermanovic)425202eperf: Fix caching in config loaders (#19042) (Milos Djermanovic)3d44b3cci: run tests in Node.js 23 (#19055) (Francesco Trotta)7259627test: ensure tmp directory cleanup incheck-emfile-handling.js(#19036) (Livia Medeiros)v9.13.0Compare Source
Features
381c32bfeat: Allow languages to providedefaultLanguageOptions(#19003) (Milos Djermanovic)bf723bdfeat: Improve eslintrc warning message (#19023) (Milos Djermanovic)1def4cdfeat: drop support for jiti v1.21 (#18996) (Francesco Trotta)f879be2feat: exportESLint.defaultConfig(#18983) (Nitin Kumar)Bug Fixes
78836d4fix: update thecomplexityrule type (#19027) (Nitin Kumar)064c8b6fix: update rule types (#18925) (Nitin Kumar)Documentation
abdbfa8docs: markLintMessage#nodeTypeas deprecated (#19019) (Nitin Kumar)19e68d3docs: update deprecated rules type definitions (#19018) (Nitin Kumar)7dd402ddocs: Update examples of passing multiple values to a CLI option (#19006) (Milos Djermanovic)5dcbc51docs: Add example with side-effect imports to no-restricted-imports (#18997) (Milos Djermanovic)1ee87cadocs: Update README (GitHub Actions Bot)2c3dbdcdocs: Use prerendered sponsors for README (#18988) (Milos Djermanovic)Chores
68d2d9dchore: upgrade to@eslint/[email protected]and@eslint/core@^0.7.0(#19034) (Francesco Trotta)2211f0achore: package.json update for @eslint/js release (Jenkins)c7abaefperf: using Node.js compile cache (#19012) (唯然)1d7c077chore: add pkg.type "commonjs" (#19011) (唯然)468e3bdtest: fixESLinttests (#19021) (Francesco Trotta)ed4635fci: upgrade [email protected] (#18992) (Milos Djermanovic)efad767chore: remove unused ignore dependency (#18993) (Amaresh S M)v9.12.0Compare Source
Features
5a6a053feat: update tojitiv2 (#18954) (Arya Emami)17a07fbfeat: Hooks for test cases (RuleTester) (#18771) (Anna Bocharova)2ff0e51feat: Implement alternate config lookup (#18742) (Nicholas C. Zakas)2d17453feat: Implement modified cyclomatic complexity (#18896) (Dmitry Pashkevich)Bug Fixes
ea380cafix: Upgrade retry to avoid EMFILE errors (#18986) (Nicholas C. Zakas)fdd6319fix: Issues with type definitions (#18940) (Arya Emami)Documentation
ecbd522docs: Mention code explorer (#18978) (Nicholas C. Zakas)7ea4eccdocs: Clarifying the Use of Meta Objects (#18697) (Amaresh S M)d3e4b2edocs: Clarify how to exclude.jsfiles (#18976) (Milos Djermanovic)57232ffdocs: Mention plugin-kit in language docs (#18973) (Nicholas C. Zakas)b80ed00docs: Update README (GitHub Actions Bot)cb69ab3docs: Update README (GitHub Actions Bot)7fb0d95docs: Update README (GitHub Actions Bot)493348adocs: Update README (GitHub Actions Bot)87a582cdocs: fix typo inid-matchrule (#18944) (Jay)Chores
555aafdchore: upgrade to@eslint/[email protected](#18987) (Francesco Trotta)873ae60chore: package.json update for @eslint/js release (Jenkins)d0a5414refactor: replace strip-ansi with native module (#18982) (Cristopher)b827029chore: Enable JSON5 linting (#18979) (Milos Djermanovic)8f55ca2chore: Upgrade espree, eslint-visitor-keys, eslint-scope (#18962) (Nicholas C. Zakas)c1a2725chore: update dependency mocha to ^10.7.3 (#18945) (Milos Djermanovic)v9.11.1Compare Source
Bug Fixes
20fd916fix: add@eslint/core,@types/estree, &@types/json-schemadeps (#18938) (Nitin Kumar)2738322fix: add missing types forrequire-atomic-updatesrule (#18937) (Kristóf Poduszló)d71ff30fix: add missing types forobject-shorthandrule (#18935) (Kristóf Poduszló)561cadcfix: add missing types forno-unsafe-negationrule (#18932) (Kristóf Poduszló)8843656fix: add missing types forno-underscore-danglerule (#18931) (Kristóf Poduszló)92cde5cfix: add missing types forno-shadowrule (#18930) (Kristóf Poduszló)b3cbe11fix: add missing types forno-sequencesrule (#18929) (Kristóf Poduszló)976f77ffix: add missing types forno-unused-expressionsrule (#18933) (Kristóf Poduszló)Documentation
3eff709docs: replace deprecatedLinter.FlatConfigtype withLinter.Config(#18941) (Carlos Meira)Chores
df4a859chore: upgrade @eslint/js@9.11.1 (#18943) (Milos Djermanovic)36d8095chore: package.json update for @eslint/js release (Jenkins)v9.11.0Compare Source
Features
ec30c73feat: add "eslint/universal" to exportLinter(#18883) (唯然)c591da6feat: Add language to types (#18917) (Nicholas C. Zakas)492eb8ffeat: limit the name given toImportSpecifierinid-length(#18861) (Tanuj Kanti)19c6856feat: Addno-useless-constructorsuggestion (#18799) (Jordan Thomson)a48f8c2feat: add typeFormatterFunction, updateLoadedFormatter(#18872) (Francesco Trotta)Bug Fixes
5e5f39bfix: add missing types forno-restricted-exportsrule (#18914) (Kristóf Poduszló)8f630ebfix: add missing types forno-param-reassignoptions (#18906) (Kristóf Poduszló)d715781fix: add missing types forno-extra-boolean-castoptions (#18902) (Kristóf Poduszló)2de5742fix: add missing types forno-misleading-character-classoptions (#18905) (Kristóf Poduszló)c153084fix: add missing types forno-implicit-coercionoptions (#18903) (Kristóf Poduszló)fa11b2efix: add missing types forno-empty-functionoptions (#18901) (Kristóf Poduszló)a0deed1fix: add missing types forcamelcaseoptions (#18897) (Kristóf Poduszló)Documentation
e4e5709docs: correctprefer-object-has-owntype definition comment (#18924) (Nitin Kumar)91cbd18docs: add unicode abbreviations in no-irregular-whitespace rule (#18894) (Alix Royere)59cfc0fdocs: clarifyresultsMetainLoadedFormattertype (#18881) (Milos Djermanovic)adcc50ddocs: Update README (GitHub Actions Bot)4edac1adocs: Update README (GitHub Actions Bot)Build Related
959d360build: Support updates to previous major versions (#18871) (Milos Djermanovic)Chores
ca21a64chore: upgrade @eslint/js@9.11.0 (#18927) (Milos Djermanovic)a10f90achore: package.json update for @eslint/js release (Jenkins)e4e02ccrefactor: Extract processor logic into ProcessorService (#18818) (Nicholas C. Zakas)6d4484dchore: updates for v8.57.1 release (Jenkins)71f37c5refactor: use optional chaining when validating config rules (#18893) (lucasrmendonca)2c2805fchore: Add PR note to all templates ([#18892](https://redirect.github.com/eslint/eslint/issuesConfiguration
📅 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 this update again.
This PR has been generated by Renovate Bot (Logs).