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

This plugin adds `TypeScript` support to `eslint-plugin-import`

Results 43 eslint-import-resolver-typescript issues
Sort by recently updated
recently updated
newest added

Resolver performs way too slow on a medium to large TS project where every local/internal import is absolute from the project root, since https://github.com/import-js/eslint-import-resolver-typescript/blob/71b23a206514842fef70a99220e5ffb1d6da2a0e/src/index.ts#L276 optimization branch is not used. It...

#### Overview When a path includes `#`, it seems that enhanced-resolve replaces it with `\0#` (https://github.com/webpack/enhanced-resolve#escaping). Unfortunately further up this causes a failure in `eslint-plugin-import`: ``` TypeError [ERR_INVALID_ARG_VALUE]: The argument...

Fixes #293 The PR marks both `import` and `import-x` plugins as optional peer dependencies, thus disables the warning on missing `import` when you're using `import-x` instead.

supersedes #266 [npm link](https://www.npmjs.com/package/is-bun-module)

Node.js from v6.13.0, v8.10.0, v9.3.0 includes `module.builtinModules` which we can use to natively check if some module belongs to Node.js core or not. This drops not one, but _three_ dependencies,...

There is a line in `package.json`: https://github.com/import-js/eslint-import-resolver-typescript/blob/ca11f1c538714252ff058a8e1c680796ee5775d0/package.json#L66 That causes warning during the installation of this package when using `eslint-plugin-import-x`: ``` warning " > [email protected]" has unmet peer dependency "eslint-plugin-import@*". ```...

(Original issue is posted at https://github.com/import-js/eslint-plugin-import/issues/3015.) Take this simple setup: **eslint.config.js** ```js import eslint from '@eslint/js'; import tseslint from 'typescript-eslint'; import * as pluginImport from 'eslint-plugin-import'; export default [ eslint.configs.recommended,...

Hi, This is actually a duplicate of GH-234, but I have a branch with a reproduction via the test cases (although I wasn't sure whether to put them within "withPaths"...