eslint-import-resolver-typescript icon indicating copy to clipboard operation
eslint-import-resolver-typescript copied to clipboard

[Question] Required with new typescript eslint plugin and eslint 9?

Open SalahAdDin opened this issue 1 year ago • 1 comments

Hello,

We are working on migrating ESLint to the 9 version.

We updated it and also installed the latest Typescript ESLint plugin version, but it is not clear to us if this plugin is still required.

Is it?

Will it be migrated?

Thanks

SalahAdDin avatar Aug 15 '24 03:08 SalahAdDin

This (eslint-import-resolver-typescript) is not an ESLint plugin, it is a resolver for eslint-plugin-import-x and eslint-plugin-import for them to find .(ts|tsx) files.

As for your case, I would recommend eslint-plugin-import-x, it supports ESLint 8.56 and ESLint 9, and it will be upgraded to typescript-eslint v8 pretty soon (I am planning to release a new version to land that).

SukkaW avatar Aug 15 '24 09:08 SukkaW

This (eslint-import-resolver-typescript) is not an ESLint plugin

The very first line of the readme is:

This plugin adds TypeScript support to eslint-plugin-import (Or maybe you want to try eslint-plugin-i for faster speed)

😅 I can understand the confusion

mcshaman avatar Nov 29 '24 03:11 mcshaman

Maybe we just need to rephrase This plugin adds into This resolver adds?

JounQin avatar Mar 17 '25 14:03 JounQin

Close in favor of https://github.com/import-js/eslint-import-resolver-typescript/commit/490ca1274b5d5909fa32ace411aabec449c23c24

JounQin avatar Mar 18 '25 03:03 JounQin

So, eslint 9 flat config doesn't affect using this resolver?

yoyo837 avatar Mar 18 '25 03:03 yoyo837

So, eslint 9 flat config doesn't affect using this resolver?

https://github.com/import-js/eslint-import-resolver-typescript#eslintconfigjs

JounQin avatar Mar 18 '25 03:03 JounQin