{"id":31037227,"url":"https://github.com/samchon/eslint-in-memory-relative-path-bug","last_synced_at":"2025-09-14T04:55:39.029Z","repository":{"id":312259907,"uuid":"1046863719","full_name":"samchon/eslint-in-memory-relative-path-bug","owner":"samchon","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-29T11:31:03.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-29T14:58:53.235Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/samchon.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-29T10:52:44.000Z","updated_at":"2025-08-29T11:31:06.000Z","dependencies_parsed_at":"2025-08-29T14:58:56.633Z","dependency_job_id":"92a86837-b3b0-4369-852b-571eb47b9817","html_url":"https://github.com/samchon/eslint-in-memory-relative-path-bug","commit_stats":null,"previous_names":["samchon/eslint-in-memory-relative-path-bug"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/samchon/eslint-in-memory-relative-path-bug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Feslint-in-memory-relative-path-bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Feslint-in-memory-relative-path-bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Feslint-in-memory-relative-path-bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Feslint-in-memory-relative-path-bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samchon","download_url":"https://codeload.github.com/samchon/eslint-in-memory-relative-path-bug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Feslint-in-memory-relative-path-bug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275062960,"owners_count":25398887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"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":[],"created_at":"2025-09-14T04:55:35.581Z","updated_at":"2025-09-14T04:55:39.014Z","avatar_url":"https://github.com/samchon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a reproducible repo that demonstrates an ESLint bug with in-memory relative paths (`tsconfigRootDir := \".\"`)\n\nWhen you run below command, you'll get the error message:\n\n```bash\ngit clone https://github.com/samchon/eslint-in-memory-relative-path-bug\ncd eslint-in-memory-relative-path-bug\nnpm install\nnpm start\n```\n\n\u003e Parsing error: parserOptions.tsconfigRootDir must be an absolute path, but received: \".\". This is a bug in your configuration; please supply an absolute path.\n\nBy the way, if downgrade `@typescript-eslint/eslint-plugin` and `@typescript-eslint/parser` from `8.41.0` to `8.40.0`, the error will be solved, so please consider what has been changed during the `8.41.0` update.\n\nFor reference, here is my source code that configuring `tsconfigRootDir` as relative path `\".\"`\n\n- https://github.com/samchon/embed-typescript/blob/master/packages/embed-eslint/src/EmbedEsLint.ts#L107-L123\n\n```typescript\nconst eslintConfig = {\n  parser: \"@typescript-eslint/parser\",\n  plugins: [\"@typescript-eslint\"],\n  parserOptions: {\n    programs: [program],\n    tsconfigRootDir: \".\",\n    disallowAutomaticSingleRunInference: true,\n  },\n  rules: Object.fromEntries(\n    Object.entries(this.props.rules).map(([key, value]) =\u003e [\n      key.startsWith(\"@typescript-eslint/\")\n        ? key\n        : `@typescript-eslint/${key}`,\n      value,\n    ]),\n  ),\n};\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamchon%2Feslint-in-memory-relative-path-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamchon%2Feslint-in-memory-relative-path-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamchon%2Feslint-in-memory-relative-path-bug/lists"}