Releases: import-js/eslint-import-resolver-typescript
v3.8.7
Patch Changes
- #377
a14fdd9
Thanks @carlocorradini! - fix: include mapper with no files and force non-dynamic projects to use absolute paths
Full Changelog: v3.8.6...v3.8.7
v3.8.6
Patch Changes
Full Changelog: v3.8.5...v3.8.6
v3.8.5
Patch Changes
- #372
366eeaf
Thanks @carlocorradini! - fix: if file has no corresponding mapper function, apply all of them, starting with the nearest one.
Full Changelog: v3.8.4...v3.8.5
v3.8.4
Patch Changes
Full Changelog: v3.8.3...v3.8.4
v3.8.3
Patch Changes
-
#360
8192976
Thanks @carlocorradini! - Force tiniglobby to expand dot directories -
#360
8192976
Thanks @carlocorradini! - Update tinyglobby to latest version
Full Changelog: v3.8.2...v3.8.3
v3.8.2
Patch Changes
- #357
5fd349e
Thanks @carlocorradini! - Update thetinyglobby
to the latest version to solve performance regressions.
Full Changelog: v3.8.1...v3.8.2
v3.8.1
Patch Changes
- #352
0c6303d
Thanks @carlocorradini! - Set cwd while resolving tsconfig include
Full Changelog: v3.8.0...v3.8.1
v3.8.0
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.
New Contributors
- @ueda-soma made their first contribution in #328
- @gatsinski made their first contribution in #338
Full Changelog: v3.7.0...v3.8.0
v3.7.0
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
// 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 usecreateTypeScriptImportResolver
with the older versions ofeslint-plugin-import-x
or any existing versions ofeslint-plugin-import
.
Full Changelog: v3.6.3...v3.7.0
v3.6.3
Patch Changes
-
#305
f8d7b82
Thanks @SukkaW! - Fix resolve fornode:test
,node:sea
, andnode:sqlite
without sacrificing installation size -
#288
a4c6c78
Thanks @SunsetTechuila! - fix: ignore bun built-in modules
New Contributors
- @RobinTail made their first contribution in #294
- @wojtekmaj made their first contribution in #295
- @SunsetTechuila made their first contribution in #288
Full Changelog: v3.6.1...v3.6.3