Skip to content

eBPF-based security platform

ci: leave two rules the coding style contradicts out of CodeQL

Daniel Borkmannc6802496224b
diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml
index 393112ce..03e5b13a 100644
--- a/.github/codeql/codeql-config.yml
+++ b/.github/codeql/codeql-config.yml
@@ -2,3 +2,12 @@ name: shirudo CodeQL configuration
paths-ignore:
- vendor
+
+# Rules the tree's style contradicts: option parsers advance their index
+# inside the loop, and the coding style keeps comments to what the code
+# cannot say, so neither finding is a defect.
+query-filters:
+ - exclude:
+ id: cpp/loop-variable-changed
+ - exclude:
+ id: cpp/poorly-documented-function