2020-03-23 20:31:50 +00:00
|
|
|
linters:
|
|
|
|
enable:
|
2022-05-10 22:09:19 +00:00
|
|
|
- asciicheck
|
|
|
|
- bidichk
|
2022-05-10 15:50:04 +00:00
|
|
|
- bodyclose
|
2022-05-11 07:42:11 +00:00
|
|
|
- containedctx
|
2022-05-10 15:06:48 +00:00
|
|
|
- deadcode
|
2022-05-16 08:58:47 +00:00
|
|
|
- decorder
|
2022-05-16 06:31:41 +00:00
|
|
|
- dogsled
|
2022-05-10 22:27:59 +00:00
|
|
|
- durationcheck
|
2020-03-23 20:31:50 +00:00
|
|
|
- errcheck
|
2022-05-16 10:51:31 +00:00
|
|
|
- errname
|
2022-05-10 23:10:25 +00:00
|
|
|
- exportloopref
|
2022-05-17 05:56:48 +00:00
|
|
|
- gci
|
2022-05-11 08:24:46 +00:00
|
|
|
- gochecknoinits
|
2022-05-12 10:12:57 +00:00
|
|
|
- goprintffuncname
|
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
|
2022-05-11 11:32:54 +00:00
|
|
|
- importas
|
2020-03-23 20:31:50 +00:00
|
|
|
- ineffassign
|
2022-05-16 13:38:57 +00:00
|
|
|
- misspell
|
2022-05-11 12:04:40 +00:00
|
|
|
- noctx
|
2022-05-10 15:50:04 +00:00
|
|
|
- staticcheck
|
2020-03-23 20:31:50 +00:00
|
|
|
- structcheck
|
2022-05-10 22:48:45 +00:00
|
|
|
- tenv
|
|
|
|
- thelper
|
|
|
|
- tparallel
|
2022-05-10 15:50:04 +00:00
|
|
|
- typecheck
|
2022-05-10 19:28:45 +00:00
|
|
|
- unconvert
|
2022-05-10 15:50:04 +00:00
|
|
|
- unused
|
|
|
|
- varcheck
|
2022-05-12 11:03:26 +00:00
|
|
|
- wastedassign
|
2022-05-10 17:01:29 +00:00
|
|
|
- whitespace
|
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"
|