github / github/codeql

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

Ouverte
#3,745 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
false-positive JS
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
141

Description

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! 🕊️

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.