Skip to content

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

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

v3.5.3

11 Jan 09:03
b4a5d6e
Compare
Choose a tag to compare

Patch Changes

  • #206 6531bad Thanks @marvinhagemeister! - Only try to resolve a module directory when we know that the path is a directory. This can lead to a 15% speedup on projects with many files.

v3.5.2

20 Oct 12:07
cd85ece
Compare
Choose a tag to compare

Patch Changes

v3.5.1

07 Sep 14:22
2e1a335
Compare
Choose a tag to compare

Patch Changes

New Contributors

Full Changelog: v3.5.0...v3.5.1

v3.5.0

22 Aug 14:35
d8dd3ca
Compare
Choose a tag to compare

Minor Changes

Patch Changes