From 9acbc7ffa10ad66366914864184a34a2af5d432f Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Tue, 23 Jan 2024 10:00:41 +0100 Subject: [PATCH] Add .snyk file to exclude vendor and ignore unit tests --- .snyk | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 000000000..462c381a9 --- /dev/null +++ b/.snyk @@ -0,0 +1,7 @@ +# References: +# https://docs.snyk.io/scan-applications/snyk-code/using-snyk-code-from-the-cli/excluding-directories-and-files-from-the-snyk-code-cli-test +# https://docs.snyk.io/snyk-cli/commands/ignore +exclude: + global: + - vendor/** + - "**/*_test.go"