eslint-import-resolver-typescript
eslint-import-resolver-typescript copied to clipboard
This plugin adds `TypeScript` support to `eslint-plugin-import`
Hi, Thanks for a solid resolver. I am having an issue though, please see below. According to the [ts docs](https://www.typescriptlang.org/docs/handbook/modules/reference.html#file-extension-substitution): > For any module specifier that would, according to the...
I am trying to supply `eslint-import-resolver-typescript` with custom `extensionAlias` option. Is this the correct way: ```json { "plugins": ["import"], "settings": { "import/parsers": { "@typescript-eslint/parser": [".ts", ".tsx"] }, "import/resolver": { "typescript":...
Add [bun](https://bun.sh/) support (so `import { Database } from 'bun:sqlite'`) won't trigger `import/no-unresolved`. There are no existing `is-bun-modules`, so a naive solution is to locate `bun-types` and find all `declare...
https://github.com/dominikg/tsconfck vs https://github.com/privatenumber/get-tsconfig cc @privatenumber
In my monorepo, I have a package.json file with the following configuration: ```json { "name": "example", "private": "true", "type": "module", "version": "1.0.0", "description": "", "devDependencies": {}, "scripts": {}, "exports": {...
Specifically, I have a package with an export map like this ```json { "name": "@hydrofoil/roadshow-ng", "exports": { ".": "./index.js", "./rs-view.js": "./rs-view.js", "./viewers.js": "./viewers.js" } } ``` In other packages I...
I am having a react typescript project with eslint and typescript setup with webpack. I created one declaration.d.ts file having this code ```typescript declare module 'local-react' { export type ReactFCWithChildren...
Here is the context of the issue - [import/no-unused-modules can't recognize loading rules with moduleSuffixes](https://github.com/import-js/eslint-plugin-import/issues/2698)
[Details](https://github.com/microsoft/vscode-eslint/issues/1708) > It is possible to infer the workspace based on the second parameter` file` in `getMappedPath`. Once the workspace is inferred, the paths collection will never exceed two paths....
https://github.com/import-js/eslint-import-resolver-typescript/issues/246