From f1a2557118ff6d0b4cc67531ca1261d8e4ba6e56 Mon Sep 17 00:00:00 2001 From: Evgenii Baidakov Date: Thu, 15 Aug 2024 15:01:13 +0400 Subject: [PATCH] lint: Refresh deprecated config This fixes ``` $ golangci-lint --version golangci-lint has version 1.59.1 built with go1.22.3 from 1a55854a on 2024-06-09T18:08:33Z $ golangci-lint run ./... WARN [config_reader] The configuration option `output.format` is deprecated, please use `output.formats` ``` The configuration file is updated according to https://golangci-lint.run/usage/configuration/. Signed-off-by: Evgenii Baidakov --- .golangci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.golangci.yaml b/.golangci.yaml index 9cc4e94..cd745ec 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -12,7 +12,8 @@ run: # 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: