2020-03-24 02:01:50 +05:30
|
|
|
linters:
|
|
|
|
enable:
|
2022-05-10 17:50:04 +02:00
|
|
|
- bodyclose
|
2022-05-10 17:06:48 +02:00
|
|
|
- deadcode
|
2020-03-24 02:01:50 +05:30
|
|
|
- errcheck
|
2022-05-10 17:06:48 +02:00
|
|
|
- gosec
|
2020-03-24 02:01:50 +05:30
|
|
|
- gosimple
|
2022-05-10 17:50:04 +02:00
|
|
|
- govet
|
2020-03-24 02:01:50 +05:30
|
|
|
- ineffassign
|
2022-05-10 17:50:04 +02:00
|
|
|
- staticcheck
|
2020-03-24 02:01:50 +05:30
|
|
|
- structcheck
|
2022-05-10 17:50:04 +02:00
|
|
|
- typecheck
|
|
|
|
- unused
|
|
|
|
- varcheck
|
2022-05-10 19:01:29 +02:00
|
|
|
- whitespace
|
2020-03-24 02:01:50 +05:30
|
|
|
|
|
|
|
run:
|
2022-05-10 16:38:09 +02:00
|
|
|
timeout: 5m
|
2020-03-24 02:01:50 +05:30
|
|
|
skip-files:
|
|
|
|
- ".+_test.go"
|
2022-05-10 17:50:04 +02:00
|
|
|
- ".+_test_.+.go"
|