github / github/codeql

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

オープン
#3,745 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
false-positive JS
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。