Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Playground: Virtual file name discrepancy between playground (input.ts) and docs & rule tests (file.ts) #9269

Labels
accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingwebsite: playground
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

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:

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.

💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingwebsite: playground

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp