32 lines
449 B
YAML
32 lines
449 B
YAML
---
|
|
|
|
run:
|
|
deadline: 5m
|
|
|
|
output:
|
|
sort-results: true
|
|
|
|
linters:
|
|
enable:
|
|
- gofumpt
|
|
- goimports
|
|
- revive
|
|
- misspell
|
|
|
|
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
|