LGTM.com - false positive `js/trivial-conditional`
Aperta
false-positive
JS
not security
- Lingua principale
- CodeQL
- Stelle
- 10.1k
- Fork
- 2.1k
- Merge medio
- 2g 15h
- PR unite (30g)
- 141
Descrizione
**Description of the false positive**
argument `allowUnknown` may be `undefined`, `false`, or `true`, `!allowUnknown` isn't "always evaluates to true".
**URL to the alert on the project page on LGTM.com**
https://lgtm.com/projects/g/sunafterrainwm/LilyWhiteBot-typescript/snapshot/68356fa5c61585d878e0605f3941519513ab2793/files/src/lib/eventemitter2.ts#x20af7a89c89a9eee:1
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.