LGTM.com - false positive cs/constant-condition
未關閉
C#
false-positive
- 主要語言
- CodeQL
- 星號
- 10.1k
- 分支
- 2.1k
- 平均合併
- 2 天 15 小時
- 30 天內合併 PR
- 141
描述
Conditions including `true && ...` are falsely reported as always returning true.
While I admit including extra `true` statements is a bit redundant, it can help minimise git diffs when long conditionals are split over multiple lines.
https://lgtm.com/projects/g/rkm/lgtm-constant-conditional-test
Thanks!
貢獻指南
評估
這個 Issue 還沒有評估資料。