Skip to content

[TypeScript] jsx-no-leaked-render false positives with boolean types #3298

Closed as not planned
@SimonSchick

Description

@SimonSchick

I'm unsure as how far TS support goes for this package but this rule causes a lot of false positives when the type of the checked variable is already a bool, adding an extra !! is kind of annoying (albeit not a deal breaker).

Would it be possible to add support for type checking this rule?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions