Go: Add language-specific baseline configuration

This commit is contained in:
Owen Mansel-Chan
2023-07-30 21:52:33 +01:00
parent 4656130dab
commit b5518047fa
3 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{
"paths-ignore": [
"vendor/**"
]
}

View File

@@ -0,0 +1,4 @@
@echo off
if exist vendor\modules.txt (
type %CODEQL_EXTRACTOR_GO_ROOT%\codeql-tools\baseline-config.json
)

View File

@@ -0,0 +1,5 @@
#!/bin/sh
if [ -f vendor/modules.txt ]; then
cat $CODEQL_EXTRACTOR_GO_ROOT/codeql-tools/baseline-config.json
fi