Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
feat: tightentsconfigRootDir
validation#11463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
feat: tightentsconfigRootDir
validation#11463
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thanks for the PR,@kirkwaiblinger! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently onhttps://opencollective.com/typescript-eslint. |
netlifybot commentedAug 6, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
✅ Deploy Preview fortypescript-eslint ready!
To edit notification comments on pull requests, go to yourNetlify project configuration. |
nx-cloudbot commentedAug 6, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
View yourCI Pipeline Execution ↗ for commitc20f200
☁️Nx Cloud last updated this comment at |
codecovbot commentedAug 6, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report❌ Patch coverage is Pleaseupload reports for the commitc20f200 to get more accurate results.
Additional details and impacted files@@ Coverage Diff @@## main #11463 +/- ##==========================================+ Coverage 90.87% 90.88% +0.01%========================================== Files 505 505 Lines 51121 51142 +21 Branches 8415 8424 +9 ==========================================+ Hits 46455 46480 +25+ Misses 4652 4648 -4 Partials 14 14
Flags with carried forward coverage won't be shown.Click here to find out more.
🚀 New features to boost your workflow:
|
d151ca5
toc3b9f4e
ComparetsconfigRootDir
bugstsconfigRootDir
validationThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
(process.platform==='win32'&& | ||
!/^[a-zA-Z]:/.test(userProvidedTsconfigRootDir)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This is tested but it doesn't get picked up in the coverage report, due to only being tested on windows. Tried to use anistanbul ignore
comment, but vitest/esbuild/typescript has problems with coverage ignore comments due to comment stripping and I couldn't get it to work :(
tsconfigRootDir
validationtsconfigRootDir
validation270fa59
intotypescript-eslint:mainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
PR Checklist
tsconfigRootDir
s in tests #11414project: true
doesn't permit trailing pathsep intsconfigRootDir
#11413tsconfigRootDir
is provided #11460Overview
This ensures that tsconfigRootDir must always be absolute if provided. Adds testing. Adjusts existing testing which used relative tsconfigRootDirs rather than absolute.
Handles normalization so that trailing path sep bug is also solved (test included)