Uh oh!
There was an error while loading. Please reload this page.
Enable eslint rule no-extra-boolean-cast - #55137
Conversation
Jake Bailey (jakebailey)
commented
Jul 24, 2023
Aha, well, clearly I expected |
Bruce Pascoe (fatcerberus)
commented
Jul 24, 2023
Looking at the diff I see a few places where it does stuff like Also I thought TS itself had a check that flags stuff like |
Jake Bailey (jakebailey)
commented
Jul 24, 2023
I don't disagree; I'll probably just disable this rule instead. We do have those checks, though they only apply in certain circumstances. |
Jake Bailey (jakebailey)
commented
Jul 24, 2023
I'm opting to disable this in #55136. |
Follow-up to #54693.
This is probably more for discussion; these extra
!!are redundant and not obviously wrong, but, it's probably a fine cleanup.