2019-04-24 12:18:40 +00:00
|
|
|
run:
|
2019-05-03 13:11:28 +00:00
|
|
|
deadline: 5m
|
2019-04-24 12:18:40 +00:00
|
|
|
|
2020-03-23 14:32:37 +00:00
|
|
|
linters:
|
|
|
|
enable:
|
2020-08-21 09:37:21 +00:00
|
|
|
- depguard
|
2020-03-23 14:32:37 +00:00
|
|
|
- golint
|
|
|
|
|
2019-05-03 13:11:28 +00:00
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- path: _test.go
|
|
|
|
linters:
|
|
|
|
- errcheck
|
|
|
|
|
|
|
|
linters-settings:
|
2020-08-21 09:37:21 +00:00
|
|
|
depguard:
|
|
|
|
list-type: blacklist
|
|
|
|
include-go-root: true
|
|
|
|
packages:
|
|
|
|
- sync/atomic
|
2020-10-29 10:09:08 +00:00
|
|
|
- github.com/stretchr/testify/assert
|
2020-08-21 09:37:21 +00:00
|
|
|
packages-with-error-message:
|
|
|
|
- sync/atomic: "Use go.uber.org/atomic instead of sync/atomic"
|
2020-10-29 10:09:08 +00:00
|
|
|
- github.com/stretchr/testify/assert: "Use github.com/stretchr/testify/require instead of github.com/stretchr/testify/assert"
|
2019-05-03 13:11:28 +00:00
|
|
|
errcheck:
|
|
|
|
exclude: scripts/errcheck_excludes.txt
|