chore(deps): update eslint related #260
Draft
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.16.0
->8.21.0
8.25.0
(+4)8.16.0
->8.21.0
8.25.0
(+4)9.16.0
->9.19.0
9.21.0
(+2)3.6.3
->3.7.0
3.8.3
(+3)4.4.3
->4.6.1
50.6.0
->50.6.3
17.14.0
->17.15.1
5.2.1
->5.2.3
2.5.6
->2.5.8
~5.5.0
->~5.7.0
8.16.0
->8.21.0
8.25.0
(+4)Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v8.21.0
Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.20.0
Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.19.1
Compare Source
🩹 Fixes
declare
keyword (#10543)❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.19.0
Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.18.2
Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.18.1
Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.18.0
Compare Source
🚀 Features
🩹 Fixes
toString()
declarations are present for a type (#10432)❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.17.0
Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v8.21.0
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v8.20.0
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v8.19.1
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v8.19.0
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v8.18.2
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v8.18.1
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v8.18.0
Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.17.0
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
eslint/eslint (eslint)
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
docs: Update README (GitHub Actions Bot)093fb3d
docs: replacevar
withlet
andconst
in rule examples (#19365) (Tanuj Kanti)417de32
docs: replace var with const in rule examples (#19352) (jj)17f2aae
docs: update getting-started config to match default generated config (#19308) (0xDev)8a0a5a8
docs: betterglobal ignores
instruction (#19297) (Jacopo Marrone)6671a2c
docs: Update README (GitHub Actions Bot)e39d3f2
docs: fix divider for rule category (#19264) (Tanuj Kanti)e0cf53f
docs: fix search result box position for small screens (#19328) (Tanuj Kanti)f92a680
docs: replace var with let or const in rule examples (#19331) (Ravi Teja Kolla)b04b84b
docs: revert accidental changes in TS config files docs (#19336) (Francesco Trotta)Chores
9b9cb05
chore: upgrade @eslint/js@9.19.0 (#19371) (Milos Djermanovic)58560e7
chore: package.json update for @eslint/js release (Jenkins)2089707
test: fix failing test in Node.js v22.13.0 (#19345) (Francesco Trotta)v9.18.0
Compare Source
Features
e84e6e2
feat: Report allowed methods forno-console
rule (#19306) (Anna Bocharova)8efc2d0
feat: unflag TypeScript config files (#19266) (Francesco Trotta)87a9352
feat: check imports and class names inno-shadow-restricted-names
(#19272) (Milos Djermanovic)Bug Fixes
da768d4
fix: correctoverrideConfigFile
type (#19289) (Francesco Trotta)Documentation
d9c23c5
docs: replacevar
withconst
in rule examples (#19325) (Tanuj Kanti)8e1a898
docs: add tabs to cli code blocks (#18784) (Jay)f3aeefb
docs: rewrite using let and const in rule examples (#19320) (PoloSpark)0b680b3
docs: Update README (GitHub Actions Bot)98c86a9
docs:Edit this page
button link to different branches (#19228) (Tanuj Kanti)6947901
docs: remove hardcoded edit link (#19323) (Milos Djermanovic)03f2f44
docs: rewrite var with const in rules examples (#19317) (Thiago)26c3003
docs: Clarify dangers of eslint:all (#19318) (Nicholas C. Zakas)c038257
docs: addeqeqeq
in related rules tono-eq-null
(#19310) (루밀LuMir)89c8fc5
docs: rewrite examples with var using let and const (#19315) (Amaresh S M)db574c4
docs: add missing backticks tono-void
(#19313) (루밀LuMir)8d943c3
docs: add missing backticks todefault-case-last
(#19311) (루밀LuMir)36ef8bb
docs: rewrite examples with var using let and const (#19298) (Amaresh S M)1610c9e
docs: add missing backticks tono-else-return
(#19309) (루밀LuMir)df409d8
docs: Update README (GitHub Actions Bot)2e84213
docs: Fix Horizontal Scroll Overflow in Rule Description on Mobile View (#19304) (Amaresh S M)6e7361b
docs: replacevar
withlet
andconst
in rule example (#19302) (Tanuj Kanti)069af5e
docs: rewritevar
usingconst
in rule examples (#19303) (Kim GyeonWon)064e35d
docs: remove 'I hope to' comments from scope-manager-interface (#19300) (Josh Goldberg ✨)8e00305
docs: replacevar
withconst
in rule examples (#19299) (Tanuj Kanti)a559009
docs: Add warning about extending core rules (#19295) (Nicholas C. Zakas)0bfdf6c
docs: Update README (GitHub Actions Bot)ce0b9ff
docs: add navigation link forcode explorer
(#19285) (Tanuj Kanti)e255cc9
docs: add bluesky icon to footer (#19290) (Tanuj Kanti)5d64851
docs: remove outdated info about environments (#19296) (Francesco Trotta)eec01f0
docs: switch rule examples config format tolanguageOptions
(#19277) (Milos Djermanovic)b36ca0a
docs: Fixing Focus Order by Rearranging Element Sequence (#19241) (Amaresh S M)d122c8a
docs: add missing backticks tosort-imports
(#19282) (루밀LuMir)0367a70
docs: update custom parser docs (#19288) (Francesco Trotta)8c07ebb
docs: addborder-radius
tohX:target
selector styles (#19270) (루밀LuMir)eff7c57
docs: add limitation section inno-loop-func
(#19287) (Tanuj Kanti)5db226f
docs: add missing backticks in various parts of the documentation (#19269) (루밀LuMir)789edbb
docs: Update README (GitHub Actions Bot)613c06a
docs: mark rules that are frozen with ❄️ (#19231) (Amaresh S M)43172ec
docs: Update README (GitHub Actions Bot)ac8b3c4
docs: fix description ofoverrideConfigFile
option (#19262) (Milos Djermanovic)bbb9b46
docs: Update README (GitHub Actions Bot)995b492
docs: fix inconsistent divider in rule categories box (#19249) (Tanuj Kanti)f76d05d
docs: Refactor search result handling with better event listener cleanup (#19252) (Amaresh S M)c5f3d7d
docs: Update README (GitHub Actions Bot)Chores
c52be85
chore: upgrade to@eslint/[email protected]
(#19330) (Francesco Trotta)362099c
chore: package.json update for @eslint/js release (Jenkins)495aa49
chore: extract packagename
frompackage.json
for public interface (#19314) (루밀LuMir)6fe0e72
chore: update dependency @eslint/json to ^0.9.0 (#19263) (renovate[bot])v9.17.0
Compare Source
Features
eed91d1
feat: add suggestions tono-unused-vars
(#18352) (Tanuj Kanti)Bug Fixes
67d683d
fix: fix crash whenmessage.fix
is nullish (#19168) (ntnyq)c618707
fix: ignore vars with non-identifier references in no-useless-assignment (#19200) (YeonJuan)Documentation
3c22d2a
docs: updateyoda
toYoda
inyoda.md
for consistency (#19230) (루밀LuMir)e0a2203
docs: add missing backticks tono-sequences
(#19233) (루밀LuMir)4cc4881
docs: Update README (GitHub Actions Bot)3db6fdf
docs: [no-await-in-loop] expand on benefits and inapplicability (#19211) (Kirk Waiblinger)bf2a4f6
docs: add missing backticks tofunc-style
(#19227) (루밀LuMir)ba098bd
docs: add missing header toprefer-spread
(#19224) (루밀LuMir)b607ae6
docs: update description ofno-param-reassign
(#19220) (루밀LuMir)1eb424d
docs: add missing backticks toprefer-destructuring
(#19223) (루밀LuMir)85998d1
docs: add missing backticks tono-unneeded-ternary
(#19222) (루밀LuMir)b75b32c
docs: add missing backticks tono-new-func
(#19219) (루밀LuMir)a7700bc
docs: add missing backticks toid-length
(#19217) (루밀LuMir)e2bb429
docs: add missing backticks tocomplexity.md
(#19214) (루밀LuMir)045d716
docs: add missing)
toid-denylist
(#19213) (루밀LuMir)7fe4114
docs: Update README (GitHub Actions Bot)c743ba6
docs: add CSS language tono-restricted-syntax
(#19208) (Milos Djermanovic)1416d70
docs: add missing backticks toeqeqeq
(#19207) (루밀LuMir)b950c1b
docs: add missing backticks toprefer-object-spread
(#19206) (루밀LuMir)8a941cb
docs: update docs anddescription
ofrequire-unicode-regexp
(#19205) (루밀LuMir)cbab228
docs: Update README (GitHub Actions Bot)f2257ce
docs: update comments anddescription
ofno-script-url
(#19203) (루밀LuMir)365f0f4
docs: add missing backtick todefault-case-last
(#19202) (루밀LuMir)e6b84f5
docs: add missing punctuation in document (#19161) (루밀LuMir)c88708e
docs: replace quote with backtick indescription
offor-direction
(#19199) (루밀LuMir)a76f233
docs: use higher contrast color tokens for code comments (#19187) (Josh Goldberg ✨)db19502
docs: Update README (GitHub Actions Bot)Chores
cc243c9
chore: upgrade to@eslint/[email protected]
(#19242) (Francesco Trotta)84c5787
chore: package.json update for @eslint/js release (Jenkins)4c4f53b
chore: add missing backticks toflags.js
(#19226) (루밀LuMir)4b3132c
chore: update dependency eslint-plugin-expect-type to ^0.6.0 (#19221) (renovate[bot])9bf2204
chore: add type definitions for theeslint-config-eslint
package (#19050) (Arya Emami)ee8c220
chore: fix incorrectname
property inintegration-tutorial-code
(#19218) (루밀LuMir)cca801d
chore: Upgrade cross-spawn to 7.0.6 (#19185) (folortin)import-js/eslint-import-resolver-typescript (eslint-import-resolver-typescript)
v3.7.0
Compare Source
Minor Changes
#326
93ea130
Thanks @SukkaW! - This version has implemented theeslint-plugin-import-x
's v3 resolver interface. This allows you to use import/require to referenceeslint-import-resolver-typescript
directly in your ESLint flat config:Previously
Now
Note that this only works with
eslint-plugin-import-x@>=4.5.0
. You can't usecreateTypeScriptImportResolver
with the older versions ofeslint-plugin-import-x
or any existing versions ofeslint-plugin-import
.un-ts/eslint-plugin-import-x (eslint-plugin-import-x)
v4.6.1
Compare Source
Patch Changes
be9c3e8
Thanks @mrginglymus! - Fix enhanced-resolve dependencyv4.6.0
Compare Source
Minor Changes
#209
46d2360
Thanks @SukkaW! - Wheneslint-plugin-import-x
was forked fromeslint-plugin-import
, we copied over the default resolver (which iseslint-import-resolver-node
) as well. However, this resolver doesn't supportsexports
in thepackage.json
file, and the current maintainer of theeslint-import-resolver-node
(ljharb) doesn't have the time implementing this feature and he locked the issue https://github.com/import-js/eslint-plugin-import/issues/1810.So we decided to implement our own resolver that "just works". The new resolver is built upon the
enhanced-resolve
that implements the full Node.js Resolver Algorithm. The new resolver only implements the import resolver interface v3, which means you can only use it with ESLint Flat config. For more details about the import resolver interface v3, please check out #192.In the next major version of
eslint-plugin-import-x
, we will remove theeslint-import-resolver-node
and use this new resolver by default. In the meantime, you can try out this new resolver by setting theimport-x/resolver-next
option in youreslint.config.js
file:We do not plan to implement reading
baseUrl
andpaths
from thetsconfig.json
file in this resolver. If you need this feature, please checkout eslint-import-resolver-typescript (also powered byenhanced-resolve
), eslint-import-resolver-oxc (powered byoxc-resolver
), eslint-import-resolver-next (also powered byoxc-resolver
), or other similar resolvers.Patch Changes
449738f
Thanks @privatenumber! - insert type prefix without new linev4.5.1
Compare Source
Patch Changes
#198
ac6d2e1
Thanks @voxpelli! - Fix #197 with missing types#204
32e9b55
Thanks @privatenumber! - fix type-import and value-import merging when import-as is usedv4.5.0
Compare Source
Minor Changes
fbf639b
Thanks @SukkaW! - The PR implements the new resolver design proposed in https://github.com/un-ts/eslint-plugin-import-x/issues/40#issuecomment-2381444266For
eslint-plugin-import-x
usersLike the ESLint flat config allows you to use js objects (e.g. import and require) as ESLint plugins, the new
eslint-plugin-import-x
resolver settings allow you to use js objects as custom resolvers through the new settingimport-x/resolver-next
:The new
import-x/resolver-next
no longer accepts strings as the resolver, thus will not be compatible with the ESLint legacy config (a.k.a..eslintrc
). Those who are still using the ESLint legacy config should stick withimport-x/resolver
.In the next major version of
eslint-plugin-import-x
(v5), we will rename the currently existingimport-x/resolver
toimport-x/resolver-legacy
(which allows the existing ESLint legacy config users to use their existing resolver settings), andimport-x/resolver-next
will become the newimport-x/resolver
. When ESLint v9 (the last ESLint version with ESLint legacy config support) reaches EOL in the future, we will removeimport-x/resolver-legacy
.We have also made a few breaking changes to the new resolver API design, so you can't use existing custom resolvers directly with
import-x/resolver-next
:For easier migration, the PR also introduces a compat utility
importXResolverCompat
that you can use in youreslint.config.js
:For custom import resolver developers
This is the new API design of the resolver interface:
You will be able to import
NewResolver
fromeslint-plugin-import-x/types
.The most notable change is that
eslint-plugin-import-x
no longer passes the third argument (options
) to theresolve
function.We encourage custom resolvers' authors to consume the options outside the actual
resolve
function implementation. You can export a factory function to accept the options, this factory function will then be called inside theeslint.config.js
to get the actual resolver: