2023-12-15 22:25:12 +00:00
|
|
|
run:
|
|
|
|
timeout: 5m
|
|
|
|
linters:
|
|
|
|
enable:
|
|
|
|
- asasalint
|
|
|
|
- bidichk
|
|
|
|
- bodyclose
|
|
|
|
- containedctx
|
|
|
|
- contextcheck
|
|
|
|
- exportloopref
|
|
|
|
- gocheckcompilerdirectives
|
2024-06-04 18:53:23 +00:00
|
|
|
# conditionally enable this on linux/macos
|
|
|
|
# - gofmt
|
|
|
|
# - goimports
|
2024-06-04 18:51:39 +00:00
|
|
|
- intrange
|
2023-12-15 22:25:12 +00:00
|
|
|
- misspell
|
|
|
|
- nilerr
|
2024-05-22 05:07:57 +00:00
|
|
|
- nolintlint
|
|
|
|
- nosprintfhostport
|
2024-05-22 05:21:04 +00:00
|
|
|
- testifylint
|
|
|
|
- unconvert
|
2023-12-15 22:25:12 +00:00
|
|
|
- unused
|
2024-05-22 05:21:04 +00:00
|
|
|
- wastedassign
|
|
|
|
- whitespace
|
2024-06-04 18:51:39 +00:00
|
|
|
- usestdlibvars
|
|
|
|
severity:
|
|
|
|
default-severity: error
|
|
|
|
rules:
|
|
|
|
- linters:
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
|
|
|
- intrange
|
|
|
|
- usestdlibvars
|
|
|
|
severity: info
|