You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that we already have noImplicitBoolean, the opposite of this rule. Would it be worth it to combine them into one rule? The best time to do so would be before 2.0.
Reacted by Chance Smith, Lars Munkholm and andrzej-early
Activity
arendjr commentedon Feb 12, 2025
useConsistentBooleanPropswith valuesimplicitandexplicit?I donβt really like that
noExplicitBooleanhas no reference in its name that itβs for use with JSX; it sounds like something TypeScript-specific.ematipico commentedon Mar 19, 2025
I removed the rule from v2. This can be shipped whenever we can, and it shouldn't stop us from releasing v2
izakfilmalter commentedon Aug 19, 2025
Bit confused here, is there a rule that marks
as invalid?
siketyan commentedon Aug 19, 2025
@izakfilmalter That is what this issue will achieve.
vladimir-ivanov commentedon Nov 16, 2025
@arendjr @siketyan @dyc3 @ematipico
can we do a rule like:
Or do we want React specific (tsx, jsx only).
And what happens with the existing one if we introduce a different rule please? mark as deprecated?
I am a fan of implicit mode for react personally and happy to implement it once there is an agreement on the approach.
Thank you
ematipico commentedon Nov 16, 2025
I think it's a good plan, and we already deprecated rules in favour of others.
One thing that this new rule needs to do is to ignore cases like