Use code-quality-selectors in Go suite

This commit is contained in:
Tamas Vajk
2025-04-29 16:22:57 +02:00
parent bb46ca7a64
commit 2515b06b2a
7 changed files with 8 additions and 8 deletions

View File

@@ -8,6 +8,7 @@
* @tags reliability
* correctness
* logic
* quality
* external/cwe/cwe-193
* @precision high
*/

View File

@@ -8,6 +8,7 @@
* @tags reliability
* correctness
* logic
* quality
* @precision high
*/

View File

@@ -11,6 +11,7 @@
* correctness
* call
* defer
* quality
*/
import go

View File

@@ -7,6 +7,7 @@
* @tags reliability
* correctness
* logic
* quality
* @precision high
*/

View File

@@ -9,6 +9,7 @@
* @precision very-high
* @id go/negative-length-check
* @tags correctness
* quality
*/
import go

View File

@@ -8,6 +8,7 @@
* @id go/redundant-recover
* @tags maintainability
* correctness
* quality
* @precision high
*/

View File

@@ -1,9 +1,3 @@
- queries: .
- include:
id:
- go/unhandled-writable-file-close
- go/unexpected-nil-value
- go/negative-length-check
- go/redundant-recover
- go/missing-error-check
- go/index-out-of-bounds
- apply: code-quality-selectors.yml
from: codeql/suite-helpers