2020-03-23 20:31:50 +00:00
|
|
|
linters:
|
|
|
|
enable:
|
2022-05-10 15:50:04 +00:00
|
|
|
- bodyclose
|
2022-05-10 15:06:48 +00:00
|
|
|
- deadcode
|
2020-03-23 20:31:50 +00:00
|
|
|
- errcheck
|
2022-05-10 15:06:48 +00:00
|
|
|
- gosec
|
2020-03-23 20:31:50 +00:00
|
|
|
- gosimple
|
2022-05-10 15:50:04 +00:00
|
|
|
- govet
|
2020-03-23 20:31:50 +00:00
|
|
|
- ineffassign
|
2022-05-10 15:50:04 +00:00
|
|
|
- staticcheck
|
2020-03-23 20:31:50 +00:00
|
|
|
- structcheck
|
2022-05-10 15:50:04 +00:00
|
|
|
- typecheck
|
|
|
|
- unused
|
|
|
|
- varcheck
|
2020-03-23 20:31:50 +00:00
|
|
|
|
|
|
|
run:
|
2022-05-10 14:38:09 +00:00
|
|
|
timeout: 5m
|
2020-03-23 20:31:50 +00:00
|
|
|
skip-files:
|
|
|
|
- ".+_test.go"
|
2022-05-10 15:50:04 +00:00
|
|
|
- ".+_test_.+.go"
|