mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 00:53:12 +00:00
58556c19be
This reverts commit 642722e5d01ade93b6bf4839573cc1dde2bbe378. Signed-off-by: Levi Harrison <git@leviharrison.dev>
28 lines
697 B
YAML
28 lines
697 B
YAML
run:
|
|
deadline: 5m
|
|
|
|
linters:
|
|
enable:
|
|
- depguard
|
|
- golint
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: _test.go
|
|
linters:
|
|
- errcheck
|
|
|
|
linters-settings:
|
|
depguard:
|
|
list-type: blacklist
|
|
include-go-root: true
|
|
packages:
|
|
- sync/atomic
|
|
- github.com/stretchr/testify/assert
|
|
packages-with-error-message:
|
|
- sync/atomic: "Use go.uber.org/atomic instead of sync/atomic"
|
|
- github.com/stretchr/testify/assert: "Use github.com/stretchr/testify/require instead of github.com/stretchr/testify/assert"
|
|
- github.com/go-kit/kit/log: "Use github.com/go-kit/log instead of github.com/go-kit/kit/log"
|
|
errcheck:
|
|
exclude: scripts/errcheck_excludes.txt
|