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

Enhancement: Don't refer to "react" for default JSX/TSX RuleTester file name #9683

Open
Labels
blocked by another issueIssues which are not ready because another issue needs to be resolved firstenhancementNew feature or requestpackage: rule-testerIssues related to the @typescript-eslint/rule-tester package
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Before You File a Proposal Please Confirm You Have Done The Following...

Relevant Package

rule-tester

My proposal is suitable for this project

  • I believe my proposal would be useful to the broader TypeScript community (meaning it is not a niche proposal).

Description

Right now,RuleTester defaults toreact.tsx when JSX/TSX is enabled:

defaultFilenames:{ts:'file.ts',tsx:'react.tsx'},

...but JSX syntax isn't exclusively used by React! Other libraries such as Astro and Solid use it.

How about we go with ...file.tsx?

Additional Info

💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked by another issueIssues which are not ready because another issue needs to be resolved firstenhancementNew feature or requestpackage: rule-testerIssues related to the @typescript-eslint/rule-tester package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp