github / github/codeql

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

未关闭
#3,745 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
false-positive JS
主要语言
CodeQL
星标
10.1k
派生
2.1k
平均合并
2 天 15 小时
30 天内合并 PR
141

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。