{"id":29651274,"url":"https://github.com/calmdownval/eslint-import-resolver","last_synced_at":"2026-04-18T07:36:25.879Z","repository":{"id":140762571,"uuid":"366550424","full_name":"CalmDownVal/eslint-import-resolver","owner":"CalmDownVal","description":"TypeScript resolver for eslint-plugin-import","archived":false,"fork":false,"pushed_at":"2023-10-13T00:39:48.000Z","size":666,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-22T05:06:30.156Z","etag":null,"topics":["eslint","eslint-plugin-import","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CalmDownVal.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-05-12T00:47:25.000Z","updated_at":"2023-08-05T15:43:32.000Z","dependencies_parsed_at":"2023-10-13T13:09:43.348Z","dependency_job_id":"3e8f57d9-5745-4722-a70c-b74635def81c","html_url":"https://github.com/CalmDownVal/eslint-import-resolver","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/CalmDownVal/eslint-import-resolver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalmDownVal%2Feslint-import-resolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalmDownVal%2Feslint-import-resolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalmDownVal%2Feslint-import-resolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalmDownVal%2Feslint-import-resolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CalmDownVal","download_url":"https://codeload.github.com/CalmDownVal/eslint-import-resolver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalmDownVal%2Feslint-import-resolver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31961347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eslint","eslint-plugin-import","typescript"],"created_at":"2025-07-22T05:06:30.073Z","updated_at":"2026-04-18T07:36:25.858Z","avatar_url":"https://github.com/CalmDownVal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-import-resolver-typescript\n\nThis is a re-implementation of [eslint-import-resolver-typescript](https://github.com/alexgorbatchev/eslint-import-resolver-typescript)\n(ISC license) by [Alex Gorbatchev](https://github.com/alexgorbatchev).\n\nThis version adds logic to take the location of tsconfig into account and won't\napply path mapping outside of its package.\n\n## Example\n\n```txt\n├─ packages\n│  ├─ client\n│  │  ├─ src\n│  │  │  └─ utils\n│  │  │     └─ constants.ts\n│  │  ├─ package.json\n│  │  └─ tsconfig.json\n│  └─ server\n│     ├─ src\n│     │  └─ utils\n│     │     └─ constants.ts\n│     ├─ package.json\n│     └─ tsconfig.json\n├─ .eslintrc\n└─ package.json\n```\n\nAssume `~/*` maps to the `src` directory in both packages. Since the original\nimplementation uses all tsconfigs at once, resolving `~/utils/constants` yields\ntwo paths:\n\n- `packages/client/src/utils/constants.ts`\n- `packages/server/src/utils/constants.ts`\n\nThe original version then blindly returns the first one found, which means the\nresolution works correctly only for the first package. For the second package,\nthe resolution algorithm will point to the wrong file.\n\nThis version considers the location of tsconfig and won't apply path patterns\ndefined in configs that don't relate to the file being linted.\n\n## Debugging\n\nTo show debug logs from this resolver, run ESLint with the DEBUG environment\nvariable set:\n\n```sh\n# Bash\nDEBUG=\"eslint-import-resolver-typescript\" yarn eslint .\n\n# PowerShell\n\u0026 { $env:DEBUG='eslint-import-resolver-typescript'; yarn eslint . }\n```\n\n## Changelog\n\n- 1.2.0\n  - Updated to work with Yarn's PnP loader.\n- 1.1.0\n  - Fixed resolution for projects with nested TS config files.\n- 1.0.0\n  - Initial implementation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalmdownval%2Feslint-import-resolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalmdownval%2Feslint-import-resolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalmdownval%2Feslint-import-resolver/lists"}