Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
fix(rule-tester): normalize paths before checking if they escape cwd#11525
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
fix(rule-tester): normalize paths before checking if they escape cwd#11525
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thanks for the PR,@dbarabashh! 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 23, 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 23, 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 commit6ff0c5a
☁️Nx Cloud last updated this comment at |
Not very sure if this is the same problem as in the previousPR. But it looks like it is coming from the main branch and needs to be fixed.@JoshuaKGoldberg,@kirkwaiblinger wdyt? |
codecovbot commentedAug 27, 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✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## main #11525 +/- ##======================================= Coverage 90.87% 90.87% ======================================= Files 505 505 Lines 51146 51146 Branches 8424 8424 ======================================= Hits 46480 46480 Misses 4652 4652 Partials 14 14
Flags with carried forward coverage won't be shown.Click here to find out more.
🚀 New features to boost your workflow:
|
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.
Looks good! just requesting a testing tweak
Uh oh!
There was an error while loading.Please reload this page.
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.
Lovely, thanks!
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.
✨
9529ac1
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
Overview
Paths like
'./../../file.ts'
were not being detected as escaping the current directory because the check only looked for paths starting with'..'
. This fix normalizes paths before checking, so paths like'./../'
and'./../../'
are properly handled.