Skip to content

Commit b0cbb31

Browse files
committed
QL: restrict the queries that are run by default
1 parent 3039206 commit b0cbb31

3 files changed

Lines changed: 19 additions & 1 deletion

File tree

ql/src/codeql-suites/ql-all.qls

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
- description: All Code Scanning queries for QL
2+
- queries: .
3+
- include:
4+
kind:
5+
- problem
6+
- path-problem
7+
- alert
8+
- path-alert

ql/src/codeql-suites/ql-code-scanning.qls

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,13 @@
66
- path-problem
77
- alert
88
- path-alert
9+
precision:
10+
- high
11+
- very-high
12+
problem.severity:
13+
- error
14+
- warning
15+
- exclude:
16+
deprecated: //
17+
- exclude:
18+
query path: /^experimental\/.*/

ql/src/queries/style/ImplicitThis.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @name Using implicit `this`
33
* @description Writing member predicate calls with an implicit `this` can be confusing
44
* @kind problem
5-
* @problem.severity warning
5+
* @problem.severity recommendation
66
* @precision very-high
77
* @id ql/implicit-this
88
* @tags maintainability

0 commit comments

Comments
 (0)