Skip to content

Commit d926a6a

Browse files
committed
Go: Freeze the quality queries in the security-and-quality suite.
1 parent 7fecf74 commit d926a6a

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed
Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
11
- description: Security-and-quality queries for Go
22
- queries: .
3-
- apply: security-and-quality-selectors.yml
3+
- apply: security-and-frozen-quality-selectors.yml
44
from: codeql/suite-helpers
5+
- include:
6+
id:
7+
- go/comparison-of-identical-expressions
8+
- go/constant-length-comparison
9+
- go/duplicate-branches
10+
- go/duplicate-condition
11+
- go/duplicate-switch-case
12+
- go/impossible-interface-nil-check
13+
- go/inconsistent-loop-direction
14+
- go/index-out-of-bounds
15+
- go/missing-error-check
16+
- go/mistyped-exponentiation
17+
- go/negative-length-check
18+
- go/redundant-assignment
19+
- go/redundant-operation
20+
- go/redundant-recover
21+
- go/shift-out-of-range
22+
- go/unexpected-nil-value
23+
- go/unhandled-writable-file-close
24+
- go/unreachable-statement
25+
- go/useless-assignment-to-field
26+
- go/useless-assignment-to-local
27+
- go/useless-expression
28+
- go/whitespace-contradicts-precedence

0 commit comments

Comments
 (0)