Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Open
Description
Before You File a Documentation Request Please Confirm You Have Done The Following...
- I have looked for existingopen or closed documentation requests that match my proposal.
- I haveread the FAQ and my problem is not listed.
Suggested Changes
See#2770 ⧐: 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
💖