github / github/codeql

LGTM.com - false positive - on flow-js when annotating using a class

Aperta
#3,745 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
false-positive JS
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

Hey all, thanks for the amazing work you all doing! 🙇

**Description of the false positive**
I am working on an open source `reactjs` project and I am also using `flowjs` to type-check. Sometimes to annotate in `flowjs` you can state that a value will be of type of a `class`. LGTM in this case would not catch this annotation and will report that the imported `class` is unused.

**URL to the alert on the project page on LGTM.com**

https://lgtm.com/projects/g/dhis2/capture-app/snapshot/f2f10bd37a2b9c1268137884a135560ff473d9ca/files/src/core_modules/capture-core/rules/actionsCreator/runRulesForSingleEvent.js?sort=name&dir=ASC&mode=heatmap#x30d7c75698ff6989:1

@max-schaefer and @asgerf I would be very very happy to help as I can with this, so please let me know! 🕊️

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.