From 8245fec6142b0fbba2a8c8f846cb66e73f8fe243 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 29 Jul 2024 15:40:43 +0300 Subject: [PATCH] .golangci.yml: Fix deprecated config options ``` WARN [config_reader] The configuration option `run.skip-files` is deprecated, please use `issues.exclude-files`. WARN [config_reader] The configuration option `output.format` is deprecated, please use `output.formats` ``` Signed-off-by: Evgenii Stratonikov --- .golangci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index db94146..c6f4308 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -9,13 +9,11 @@ run: # include test files or not, default is true tests: false - skip-files: - - (^|.*/)grpc/(.*) - # output configuration options output: # colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number" - format: tab + formats: + - format: tab # all available settings of specific linters linters-settings: @@ -67,6 +65,9 @@ linters: fast: false issues: + exclude-files: + - (^|.*/)grpc/(.*) + # Excluding configuration per-path, per-linter, per-text and per-source exclude-rules: - path: v2 # ignore stutters in universal structures due to protobuf compatibility