Skip to content

Releases: import-js/eslint-import-resolver-typescript

v3.8.3

20 Feb 10:40
b61fb4a
Compare
Choose a tag to compare

Patch Changes

v3.8.2

18 Feb 14:54
4f47f8a
Compare
Choose a tag to compare

Patch Changes

v3.8.1

17 Feb 17:30
5c374a9
Compare
Choose a tag to compare

Patch Changes

v3.8.0

14 Feb 08:43
332affb
Compare
Choose a tag to compare

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

03 Dec 13:56
c5da700
Compare
Choose a tag to compare

Minor Changes

  • #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.

v3.6.3

26 Aug 09:55
3dfad60
Compare
Choose a tag to compare

Patch Changes

v3.6.1

22 Sep 10:03
796d219
Compare
Choose a tag to compare

Patch Changes

v3.6.0

09 Aug 13:44
4ee1f1f
Compare
Choose a tag to compare

Minor Changes

v3.5.5

05 Apr 16:31
006bacf
Compare
Choose a tag to compare

Patch Changes

v3.5.4

29 Mar 15:14
830be2c
Compare
Choose a tag to compare

Patch Changes