Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Open
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I havesearched for related issues and found none that matched my issue.
- I haveread the FAQ and my problem is not listed.
Issue Description
I expect thatproject: true
should search fortsconfig.json
files in thetsconfigRootDir
, even if it's written with a trailing slash.
Reproduction Repository Link
https://github.com/kirkwaiblinger/typescript-eslint-project-true-trailing-pathsep
Repro Steps
- clone the repo
npm i
npm run lint
Versions
{"eslint":"9.31.0","typescript":"5.8.3","typescript-eslint":"8.37.0"}
Additional Info
See#11407 and#11398 (comment)
Likely, this doesn't have a huge user impact, because__dirname
andimport.meta.dirname
don't include the trailing path sep, but we managed to cause bugs for ourselves when programmatically inferringtsconfigRootDir
!