2023-12-15 14:25:12 -08:00
|
|
|
run:
|
|
|
|
timeout: 5m
|
|
|
|
linters:
|
|
|
|
enable:
|
|
|
|
- asasalint
|
|
|
|
- bidichk
|
|
|
|
- bodyclose
|
|
|
|
- containedctx
|
|
|
|
- contextcheck
|
2024-08-01 14:52:15 -07:00
|
|
|
- errcheck
|
2023-12-15 14:25:12 -08:00
|
|
|
- exportloopref
|
2024-08-01 14:52:15 -07:00
|
|
|
- gci
|
2023-12-15 14:25:12 -08:00
|
|
|
- gocheckcompilerdirectives
|
2024-08-01 14:52:15 -07:00
|
|
|
- gofmt
|
|
|
|
- gofumpt
|
|
|
|
- gosimple
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
2024-06-04 11:51:39 -07:00
|
|
|
- intrange
|
2024-08-01 14:52:15 -07:00
|
|
|
- makezero
|
2023-12-15 14:25:12 -08:00
|
|
|
- misspell
|
|
|
|
- nilerr
|
2024-05-21 22:07:57 -07:00
|
|
|
- nolintlint
|
|
|
|
- nosprintfhostport
|
2024-08-01 14:52:15 -07:00
|
|
|
- staticcheck
|
|
|
|
- tenv
|
2024-05-21 22:21:04 -07:00
|
|
|
- unconvert
|
2023-12-15 14:25:12 -08:00
|
|
|
- unused
|
2024-08-01 14:52:15 -07:00
|
|
|
- usestdlibvars
|
2024-05-21 22:21:04 -07:00
|
|
|
- wastedassign
|
|
|
|
- whitespace
|
2024-08-01 14:52:15 -07:00
|
|
|
linters-settings:
|
|
|
|
gci:
|
|
|
|
sections: [standard, default, localmodule]
|
2024-08-27 17:57:34 -07:00
|
|
|
staticcheck:
|
|
|
|
checks:
|
|
|
|
- all
|
|
|
|
- -SA1019 # omit Deprecated check
|
2024-06-04 11:51:39 -07:00
|
|
|
severity:
|
|
|
|
default-severity: error
|
|
|
|
rules:
|
|
|
|
- linters:
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
|
|
|
- intrange
|
|
|
|
- usestdlibvars
|
|
|
|
severity: info
|