-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuebugSomething isn't workingSomething isn't workingwebsite: playground
Description
Suggestion
Splitting out of https://github.com/typescript-eslint/typescript-eslint/pull/9234/files#r1624918878: we have two different virtual file names used in our tooling.
The playground uses input.ts
:
const newPath = `/input${fileType}`; |
files.set(`/input${config.fileType}`, config.code); |
...while docs and rule tests use file.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.
💖
Metadata
Metadata
Assignees
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuebugSomething isn't workingSomething isn't workingwebsite: playground