2022-06-17 10:04:06 +03:00
|
|
|
---
|
|
|
|
|
|
|
|
run:
|
|
|
|
deadline: 5m
|
|
|
|
|
|
|
|
output:
|
|
|
|
sort-results: true
|
|
|
|
|
2019-04-25 11:38:07 +03:00
|
|
|
linters:
|
|
|
|
enable:
|
2022-08-03 07:30:51 +03:00
|
|
|
- deadcode
|
|
|
|
- depguard
|
|
|
|
- durationcheck
|
|
|
|
- errorlint
|
|
|
|
- exportloopref
|
|
|
|
- gofmt
|
2022-06-17 10:04:06 +03:00
|
|
|
- gofumpt
|
|
|
|
- goimports
|
2022-08-03 07:30:51 +03:00
|
|
|
- gosimple
|
|
|
|
- ineffassign
|
2022-06-17 10:04:06 +03:00
|
|
|
- misspell
|
2022-08-03 07:30:51 +03:00
|
|
|
- nolintlint
|
|
|
|
- predeclared
|
|
|
|
- revive
|
|
|
|
- staticcheck
|
|
|
|
- structcheck
|
|
|
|
- unconvert
|
|
|
|
- unused
|
|
|
|
- varcheck
|
|
|
|
- wastedassign
|
2022-06-17 10:04:06 +03:00
|
|
|
|
|
|
|
issues:
|
|
|
|
max-same-issues: 0
|
|
|
|
exclude-rules:
|
|
|
|
- path: _test.go
|
|
|
|
linters:
|
|
|
|
- errcheck
|
|
|
|
- govet
|
|
|
|
- structcheck
|
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
errcheck:
|
|
|
|
exclude: scripts/errcheck_excludes.txt
|
|
|
|
goimports:
|
|
|
|
local-prefixes: github.com/prometheus/client_golang
|
|
|
|
gofumpt:
|
|
|
|
extra-rules: true
|