NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1413 most downloaded on npm
This plugin adds `TypeScript` support to `eslint-plugin-import`
Last release 4 months ago
01 Jun 2026
Ships unpredictably
gaps range from 8 days to 11 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
80 releases · first in 2017
Patch Changes #473 32c61ab Thanks @leey0818 ! - fix: check tsconfig matching before using resolver
@ShayanTheNerd made their first contribution in #464
One column per quarter.
#468 93b39d2 Thanks @renovate! - chore(deps): bump stable-hash-x v0.2.0
#466 799f1ce Thanks @anomiex! - fix: include options hash in cache key for options normalization
Full Changelog: v4.4.3...v4.4.4
Patch Changes #462 43575e7 Thanks @JounQin ! - chore: migrate stable-hash to stable-hash-x
Patch Changes #459 f16150b Thanks @carlocorradini and @JounQin ! - fix: always sort projects by affinity before iterating Full Changelog : v4.4.1...v4
f16150b Thanks @carlocorradini and @JounQin! - fix: always sort projects by affinity before iteratingFull Changelog: v4.4.1...v4.4.2
Patch Changes #457 d9f3e68 Thanks @JounQin ! - fix(deps): bump eslint-import-context to v0.1.5 Full Changelog : v4.4.0...v4.4.1
Full Changelog: v4.4.0...v4.4.1
Minor Changes #453 7d87517 Thanks @JounQin ! - feat: integrate eslint-import-context to get correct context.cwd Full Changelog : v4.3.5...v4.4.0
Full Changelog: v4.3.5...v4.4.0
Patch Changes #450 3f1aab1 Thanks @JounQin ! - fix: remove buggy module-sync exports field Full Changelog : v4.3.4...v4.3.5
Full Changelog: v4.3.4...v4.3.5
Patch Changes #442 57611d9 Thanks @JounQin ! - fix: add more extension aliases for ts source/declaration files #444 bd45fcd Thanks @JounQin ! - fix(de
Patch Changes #433 834b11e Thanks @JounQin ! - chore: bump unrs-resolver to v1.6.0 Full Changelog : v4.3.2...v4.3.3
Full Changelog: v4.3.2...v4.3.3
### Patch Changes - #427 `dabba8e` Thanks @JounQin! - chore: bump unrs-resolver to v1.4.1 Full Changelog: https://github.com/import-js/eslint-import-r
### Patch Changes - #425 `2ced0ba` Thanks @JounQin! - chore: bump unrs-resolver to v1.3.3 Full Changelog: https://github.com/import-js/eslint-import-r
### Minor Changes - #423 `2fcb947` Thanks @JounQin! - feat: throw error on malformed tsconfig reference Full Changelog: https://github.com/import-js/e
`aeb558f` Thanks @JounQin! - fix: add missing index.d.cts file
aeb558f Thanks @JounQin! - fix: add missing index.d.cts fileFull Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v4.2.6...v4.2.7
### Patch Changes - #417 `c3f678b` Thanks @JounQin! - fix: require entry types, add module-sync entry Full Changelog: https://github.com/import-js/esl
### Patch Changes - #410 `ec59d22` Thanks @JounQin! - fix: absolute path aliasing should not be skipped Full Changelog: https://github.com/import-js/e
@karlhorky made their first contribution in https://github.com/import-js/eslint-import-resolver-typescript/pull/404
#407 6b183ff Thanks @JounQin! - chore: migrate to rebranding unrs-resolver with new targets supported:
i686-pc-windows-msvcarmv7-unknown-linux-musleabihfpowerpc64le-unknown-linux-gnus390x-unknown-linux-gnuFull Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v4.2.3...v4.2.4
is-bun-module is marked as dependency, again, for correctness, see `isBunImplementedNodeModule` for more details
#402 f21bf15 Thanks @SunsetTechuila! - fix: don't resolve not implemented node modules in bun
is-bun-module is marked as dependency, again, for correctness, see isBunImplementedNodeModule for more details
For Bun users: you don't need to install is-bun-module any more but bun: true option is still required if you're running without bun --bun nor run#bun enabled
Full Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v4.2.2...v4.2.3
Now rspack-resolver resolves pnpapi natively.
### Patch Changes - #394 `9f11f6b` Thanks @JounQin! - fix: don't set empty configFile when no tsconfig found - #394 `9f11f6b` Thanks @JounQin! - chore
Technically this is a BREAKING CHANGE, but considering we just raise out v4 recently and this only affects bun users, bun --bun eslint even works with…
#391 c8121e5 Thanks @JounQin! - feat: mark is-bun-module as optional peer dependency
Technically 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 use bun: true optioneslint with bun --bun eslint w/o bun: true optionrun#bun in bunfig.toml w/o bun: true optionFull Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v4.1.1...v4.2.0
### Patch Changes - #389 `1b97d8a` Thanks @JounQin! - fix: should prefer module.isBuiltin when process.versions.bun available Full Changelog: https://
process.versions.bun is unavailable even with bun eslint due to its own design, but checking bun modules for non-bun users is incorrect behavior and j
#387 ef5cd10 Thanks @JounQin! - feat: add a new bun?: boolean option for bun users - close #386
process.versions.bun is unavailable even with bun 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 enabled
Full Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v4.0.0...v4.1.0
drop Node 14 support, Node ^16.17.0 || >=18.6 is now required
#368 2fd7c2e Thanks @JounQin! - feat!: rewrite, speed up by using rspack-resolver which supports references natively under the hood
BREAKING CHANGES:
^16.17.0 || >=18.6 is now requiredalwaysTryTypes is enabled by default, you can set it as false to opt-outproject is discouraged but still supported, single project with references is encouraged for better performance, you can enable noWarnOnMultipleProjects option to supress the warning messagetsconfig.json or jsconfig.json will be used automatically if no project providedFull Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.9.1...v4.0.0
Patch Changes #439 c1d64c3 Thanks @JounQin ! - chore: bump unrs-resolver to v1.6.2 Full Changelog : v3.10.0...v3.10.1
Full Changelog: v3.10.0...v3.10.1
Migrate rspack-resolver to rebranding `unrs-resolver` for more targets support and other bug fixes
#413 89c2795 Thanks @JounQin! - chore: housekeeping, bump all (dev) deps
Migrate rspack-resolver to rebranding unrs-resolver for more targets support and other bug fixes
Full Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.9.1...v3.10.0
### Patch Changes - #382 `4a9176e` Thanks @JounQin! - fix: use `rspack-resolver` fork for pnp support Full Changelog: https://github.com/import-js/esl
4a9176e Thanks @JounQin! - fix: use rspack-resolver fork for pnp supportFull Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.9.0...v3.9.1
### Minor Changes - #379 `6814443` Thanks @JounQin! - feat: migrate enhanced-resolve to oxc-resolver Full Changelog: https://github.com/import-js/esli
### Patch Changes - #377 `a14fdd9` Thanks @carlocorradini! - fix: include mapper with no files and force non-dynamic projects to use absolute paths Fu
### Patch Changes - #374 `c9d5ab0` Thanks @JounQin! - fix: add support for importing with .js extension as tsx importee Full Changelog: https://github
### Patch Changes - #372 `366eeaf` Thanks @carlocorradini! - fix: if file has no corresponding mapper function, apply all of them, starting with the n
### Patch Changes - #370 `c940785` Thanks @JounQin! - fix: support multiple matching ts paths Full Changelog: https://github.com/import-js/eslint-impo
### Patch Changes - #360 `8192976` Thanks @carlocorradini! - Force tiniglobby to expand dot directories - #360 `8192976` Thanks @carlocorradini! - Upd
### Patch Changes - #357 `5fd349e` Thanks @carlocorradini! - Update the tinyglobby to the latest version to solve performance regressions. Full Change
### Patch Changes - #352 `0c6303d` Thanks @carlocorradini! - Set cwd while resolving tsconfig include Full Changelog: https://github.com/import-js/esl
@ueda-soma made their first contribution in https://github.com/import-js/eslint-import-resolver-typescript/pull/328
#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.
Full Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.7.0...v3.8.0
`js // eslint.config.js module.exports = { settings: { 'import-x/resolver': { typescript: { alwaysTryTypes: true, }, // or require.resolve('eslint-imp
#326 93ea130 Thanks @SukkaW! - This version has implemented the eslint-plugin-import-x's v3 resolver interface. This allows you to use import/require to reference eslint-import-resolver-typescript directly in your ESLint flat config:
Previously
// eslint.config.js
module.exports = {
settings: {
'import-x/resolver': {
typescript: {
alwaysTryTypes: true,
},
// or
require.resolve('eslint-import-resolver-typescript'):
alwaysTryTypes: true,
}
}
}
}
Now
// eslint.config.js
const {
createTypeScriptImportResolver,
} = require('eslint-import-resolver-typescript')
module.exports = {
settings: {
'import-x/resolver-next': [
createTypeScriptImportResolver({
alwaysTryTypes: true,
}),
],
},
}
Note that this only works with eslint-plugin-import-x@>=4.5.0. You can't use createTypeScriptImportResolver with the older versions of eslint-plugin-import-x or any existing versions of eslint-plugin-import.
Full Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.6.3...v3.7.0
@RobinTail made their first contribution in https://github.com/import-js/eslint-import-resolver-typescript/pull/294
#305 f8d7b82 Thanks @SukkaW! - Fix resolve for node:test, node:sea, and node:sqlite without sacrificing installation size
#288 a4c6c78 Thanks @SunsetTechuila! - fix: ignore bun built-in modules
Full Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.6.1...v3.6.3
@klippx made their first contribution in https://github.com/import-js/eslint-import-resolver-typescript/pull/241
Full Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.6.0...v3.6.1
### Minor Changes - #235 `b5ea367` Thanks @SukkaW! - refactor: drop globby and synckit Full Changelog: https://github.com/import-js/eslint-import-reso
`84b0649` Thanks @JounQin! - fix: mark eslint-module-utils as dep
84b0649 Thanks @JounQin! - fix: mark eslint-module-utils as depFull Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.5.4...v3.5.5
`25f3920` Thanks @JounQin! - fix: enhanced-resolve is commonjs only - close #213
25f3920 Thanks @JounQin! - fix: enhanced-resolve is commonjs only - close #213
#219 0bf6ffb Thanks @lsmurray! - fix: check if cwd changed to bust mapper cache
Full Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.5.3...v3.5.4
### Patch Changes - #206 `6531bad` Thanks @marvinhagemeister! - Only try to resolve a module directory when we know that the path is a directory. This
@sanderson-ut made their first contribution in https://github.com/import-js/eslint-import-resolver-typescript/pull/187
#193 8756a26 Thanks @Rialgar! - chore(package): remove node 12 from engines field
#187 7a91daf Thanks @scott-ut! - fix: resolve modules if folder contains a package.json file
Full Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.5.1...v3.5.2
@chenxinyanc made their first contribution in https://github.com/import-js/eslint-import-resolver-typescript/pull/182
afeb928 Thanks @chenxinyanc! - perf: disable throwIfNoEntry on Node 14+Full Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.5.0...v3.5.1
### Minor Changes - #174 `66a3e6c` Thanks @JounQin! - feat: reuse eslint-module-utils/hash.js for better caching ### Patch Changes - #172 `00abb6f` Th
`594df9c` Thanks @HanSeo0507! - chore(deps): update dependency synckit to ^0.8.3 for yarn PnP
594df9c Thanks @HanSeo0507! - chore(deps): update dependency synckit to ^0.8.3 for yarn PnP (#169)Full Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.4.1...v3.4.2
@thatsmydoing made their first contribution in https://github.com/import-js/eslint-import-resolver-typescript/pull/166
8892a8c Thanks @thatsmydoing! - perf: add filesystem caching supportFull Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.4.0...v3.4.1
@rbong made their first contribution in https://github.com/import-js/eslint-import-resolver-typescript/pull/161
Full Changelog: https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.3.0...v3.4.0
typescript resolves typescript/lib/typescript.d.ts instead of typescript/lib/typescript.js by default
#154 42f2dd6 Thanks @JounQin! - feat: add externsionAlias option support, .d.([cm]?ts|tsx) are always preferred than .([cm]?js|jsx)
typescript resolves typescript/lib/typescript.d.ts instead of typescript/lib/typescript.js by default
#154 42f2dd6 Thanks @JounQin! - feat: exports globSync, defaultExtensions, defaultMainFields, defaultConditionNames and defaultExtensionAlias for reusing
`60ff431` Thanks @JounQin! - chore: bump synckit
### Patch Changes - #146 `7edb823` Thanks @JounQin! - chore: use latest get-tsconfig package
### Patch Changes - #136 `abf8907` Thanks @JounQin! - build: use pnpm as manager, yarn pnp is still supported
### Patch Changes - #139 `3e93659` Thanks @JounQin! - fix: run prerelease manually for yarn v3, 2nd try
### Patch Changes - #133 `d944b26` Thanks @JounQin! - fix: use yarn v3 with PnP linker, close #130
### Patch Changes - #131 `fb88af2` Thanks @JounQin! - fix: try index file with extensions automatically
### Minor Changes - #128 `56775b3` Thanks @JounQin! - refactor: support custom extensions on resolving - #128 `56775b3` Thanks @JounQin! - feat: try e
### Patch Changes - #126 `9cf60cb` Thanks @JounQin! - fix: auto try extensions
`f88a8c9` Thanks @JounQin! - refactor: use non-capturing groups for perf
### Patch Changes - #121 `35d3022` Thanks @JounQin! - fix: try index.d.ts automatically
### Patch Changes - #118 `01f525e` Thanks @JounQin! - docs: update repository, document exports support ### 3.1.1 (2022-06-27) ### Bug Fixes - add con
Your coding agent can read these notes before it upgrades. Set up the MCP server →