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 摘要。