2021-08-19 08:16:18 +00:00
|
|
|
run:
|
|
|
|
timeout: 5m
|
2021-08-19 07:46:31 +00:00
|
|
|
linters:
|
|
|
|
enable:
|
2021-09-28 03:37:31 +00:00
|
|
|
- asciicheck
|
|
|
|
- depguard
|
|
|
|
- dogsled
|
|
|
|
- durationcheck
|
|
|
|
- errcheck
|
|
|
|
- errorlint
|
|
|
|
- exportloopref
|
|
|
|
- gci
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
|
|
|
- gosec
|
|
|
|
- misspell
|
|
|
|
- nakedret
|
|
|
|
- nilerr
|
|
|
|
- nolintlint
|
|
|
|
- revive
|
|
|
|
- wastedassign
|
2021-08-19 07:46:31 +00:00
|
|
|
issues:
|
|
|
|
exclude-rules:
|
2021-09-28 03:37:31 +00:00
|
|
|
- linters:
|
|
|
|
- structcheck
|
|
|
|
- unused
|
|
|
|
text: "`data` is unused"
|
|
|
|
- linters:
|
|
|
|
- staticcheck
|
|
|
|
text: "SA1019:"
|
|
|
|
- linters:
|
|
|
|
- revive
|
|
|
|
text: "var-naming:"
|
|
|
|
- linters:
|
|
|
|
- revive
|
|
|
|
text: "exported:"
|
|
|
|
- path: _test\.go
|
|
|
|
linters:
|
|
|
|
- gosec # security is not make sense in tests
|