2021-08-19 11:16:18 +03:00
|
|
|
run:
|
|
|
|
timeout: 5m
|
2021-08-19 10:46:31 +03:00
|
|
|
linters:
|
|
|
|
enable:
|
2021-09-21 10:22:21 +03:00
|
|
|
- asciicheck
|
|
|
|
- depguard
|
|
|
|
- dogsled
|
|
|
|
- durationcheck
|
|
|
|
- errcheck
|
|
|
|
- errorlint
|
|
|
|
- exportloopref
|
|
|
|
- gci
|
2021-08-19 10:46:31 +03:00
|
|
|
- gofmt
|
2021-09-21 10:22:21 +03:00
|
|
|
- goimports
|
2021-08-19 10:46:31 +03:00
|
|
|
- misspell
|
2021-09-21 10:22:21 +03:00
|
|
|
- nakedret
|
|
|
|
- nilerr
|
|
|
|
- nolintlint
|
2021-08-19 10:46:31 +03:00
|
|
|
- revive
|
2021-09-21 10:22:21 +03:00
|
|
|
- wastedassign
|
2021-08-19 10:46:31 +03:00
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- linters:
|
|
|
|
- structcheck
|
|
|
|
- unused
|
|
|
|
text: "`data` is unused"
|
|
|
|
- linters:
|
|
|
|
- staticcheck
|
|
|
|
text: "SA1019:"
|
|
|
|
- linters:
|
|
|
|
- revive
|
|
|
|
text: "var-naming:"
|
|
|
|
- linters:
|
|
|
|
- revive
|
|
|
|
text: "exported:"
|