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.
Relevant Package
rule-tester
Playground Link
No response
Repro Code
typescript-eslint/packages/rule-tester/src/RuleTester.ts
Lines 215 to 217 in936f350
basePath=path.parse( | |
path.resolve(basePath??process.cwd(),filename), | |
).root; |
cwd:basePath, |
Expected Result
context.cwd
should not be set/
Actual Result
context.cwd === '/'
Additional Info
I thought it was ESLint's issueeslint/eslint#19821, and found out it's actuallytypescript-eslint
's.
Versions
package | version |
---|---|
@typescript-eslint/rule-tester | 8.33.0 |