mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
000d7edec9
Remove the inline Go vendoring per Prometheus 2020 Dev Summit[0]. [0]: https://docs.google.com/document/d/1yuaPKLDvhJNXMF1ubsOOm5kE2_6dvCxHowBQIDs0KdU/edit Signed-off-by: Ben Kochie <superq@gmail.com> Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
27 lines
585 B
YAML
27 lines
585 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"
|
|
errcheck:
|
|
exclude: scripts/errcheck_excludes.txt
|