Skip to content

Commit

Permalink
lint: Refresh deprecated config
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
smallhive committed Aug 15, 2024
1 parent f8f6545 commit ff70232
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ run:
tests: false

output:
format: tab
formats:
- format: tab

linters-settings:
exhaustive:
Expand Down

0 comments on commit ff70232

Please sign in to comment.