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

Docs: Mention JSX conditional rendering with strict-boolean-expressions #10705

Open
Labels
accepting prsGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updating
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Before You File a Documentation Request Please Confirm You Have Done The Following...

Suggested Changes

See#2770 &#10704: a good number of devs have asked for a rule like@typescript-eslint/strict-boolean-expressions that can detect JSX-specific conditionals. I.e. they're looking forhttps://eslint-react.xyz/docs/rules/no-leaked-conditional-rendering or an equivalent for their other JSX library (Preact, Solid, ...).

As explained in#2770 (comment), we can't add a rule for this to typescript-eslint itself. But enough folks have asked for it that I think it makes sense to add it to the rule's docs.

Proposal: how about we add the@eslint-react/no-leaked-conditional-rendering rule to theRelated To lists of the rule?

Affected URL(s)

https://typescript-eslint.io/rules/strict-boolean-expressions/#related-to

Additional Info

💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updating

    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