.golangci.yml: Fix deprecated config options
Some checks failed
Tests and linters / Tests (1.19) (pull_request) Successful in 1m6s
Tests and linters / Lint (pull_request) Successful in 1m26s
Tests and linters / Tests with -race (pull_request) Successful in 1m29s
Tests and linters / Tests (1.20) (pull_request) Successful in 1m44s
DCO action / DCO (pull_request) Failing after 13m54s

```
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 <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-07-29 15:40:43 +03:00
parent 8580b49c8d
commit 8245fec614

View file

@ -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