⬆️ Update dependency eslint-import-resolver-typescript to v4 #698
+232
−75
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:
^3.6.3
->^4.2.2
Release Notes
import-js/eslint-import-resolver-typescript (eslint-import-resolver-typescript)
v4.2.2
Compare Source
Patch Changes
#397
14a7688
Thanks @JounQin! - chore: bumprspack-resolver
for better P'n'P supportNow
rspack-resolver
resolvespnpapi
natively.v4.2.1
Compare Source
Patch Changes
#394
9f11f6b
Thanks @JounQin! - fix: don't set emptyconfigFile
when notsconfig
found#394
9f11f6b
Thanks @JounQin! - chore: bumprspack-resolver
to v1.2.0v4.2.0
Compare Source
Minor Changes
#391
c8121e5
Thanks @JounQin! - feat: makeis-bun-module
as optional peer dependencyTechnically this is a BREAKING CHANGE, but considering we just raise out v4 recently and this only affects
bun
users,bun --bun eslint
even works without this dependency, so I'd consider this as a minor change.So for
bun
users, there are three options:is-bun-module
dependency manually and usebun: true
optioneslint
withbun --bun eslint
w/obun: true
optionrun#bun
inbunfig.toml
w/obun: true
optionv4.1.1
Compare Source
Patch Changes
1b97d8a
Thanks @JounQin! - fix: should prefermodule.isBuiltin
whenprocess.versions.bun
availablev4.1.0
Compare Source
Minor Changes
#387
ef5cd10
Thanks @JounQin! - feat: add a newbun?: boolean
option forbun
users - close #386process.versions.bun
is unavailable even withbun eslint
due to its own design,but checking
bun
modules for non-bun users is incorrect behavior and just wasting time,so a new option is added for such case, you can still run with
bun --bun eslint
without this option enabledv4.0.0
Compare Source
Major Changes
#368
2fd7c2e
Thanks @JounQin! - feat!: rewrite, speed up by usingrspack-resolver
which supportsreferences
natively under the hoodBREAKING CHANGES:
^16.17.0 || >=18.6
is now requiredalwaysTryTypes
is enabled by default, you can set it asfalse
to opt-outproject
is discouraged but still supported, singleproject
withreferences
are encouraged for better performance, you can enablenoWarnOnMultipleProjects
option to supress the warning messagetsconfig.json
orjsconfig.json
will be used automatically if noproject
providedv3.9.1
Compare Source
Patch Changes
4a9176e
Thanks @JounQin! - fix: userspack-resolver
fork for pnp supportv3.9.0
Compare Source
Minor Changes
6814443
Thanks @JounQin! - feat: migrateenhanced-resolve
tooxc-resolver
v3.8.7
Compare Source
Patch Changes
a14fdd9
Thanks @carlocorradini! - fix: include mapper with no files and force non-dynamic projects to use absolute pathsv3.8.6
Compare Source
Patch Changes
c9d5ab0
Thanks @JounQin! - fix: add support for importing with .js extension as tsx importeev3.8.5
Compare Source
Patch Changes
366eeaf
Thanks @carlocorradini! - fix: if file has no corresponding mapper function, apply all of them, starting with the nearest one.v3.8.4
Compare Source
Patch Changes
c940785
Thanks @JounQin! - fix: support multiple matching ts pathsv3.8.3
Compare Source
Patch Changes
#360
8192976
Thanks @carlocorradini! - Force tiniglobby to expand dot directories#360
8192976
Thanks @carlocorradini! - Update tinyglobby to latest versionv3.8.2
Compare Source
Patch Changes
5fd349e
Thanks @carlocorradini! - Update thetinyglobby
to the latest version to solve performance regressions.v3.8.1
Compare Source
Patch Changes
0c6303d
Thanks @carlocorradini! - Set cwd while resolving tsconfig includev3.8.0
Compare Source
Minor Changes
#345
fcc8883
Thanks @carlocorradini! - Enable the mapper function just for a set of allowed files. Improves project discovery using glob and POSIX separator.#346
c124e87
Thanks @carlocorradini! - Update get-tsconfig to the the latest version. We now support the${configDir}
variable, introduced in TypeScript 5.5.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
.Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
This change is