From 8a8b7e90a514727c93d77eff6a18e5a3263b68e2 Mon Sep 17 00:00:00 2001 From: Joonas Loppi Date: Tue, 16 Apr 2024 13:46:53 +0300 Subject: [PATCH] golangci-lint: config syntax to exclude files has changed this silences the following warning: ``` WARN [config_reader] The configuration option `run.skip-files` is deprecated, please use `issues.exclude-files`. ``` --- .golangci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 3e2e626..a9330ec 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,6 +1,6 @@ -run: - skip-files: +issues: + exclude-files: # golangci-lint doesn't recognize our generated files (*.gen.go) - ".+\\.gen\\.go$"