Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Description
Suggestion
Splitting out ofhttps://github.com/typescript-eslint/typescript-eslint/pull/9234/files#r1624918878: we have two different virtual file names used in our tooling.
The playground usesinput.ts
:
constnewPath=`/input${fileType}`; |
files.set(`/input${config.fileType}`,config.code); |
...while docs and rule tests usefile.ts
:
defaultFilenames:{ts:'file.ts',tsx:'react.tsx'}, |
Rule options such as#8404 that care about file name need a stable name to work the same in both.
💖