Skip to content

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

@paschalidi

Description

@paschalidi

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions