You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
710 B

run:
timeout: 5m
linters:
enable:
- asasalint
- bidichk
- bodyclose
- containedctx
- contextcheck
2 years ago
- errcheck
- gocheckcompilerdirectives
2 years ago
- gofmt
- gofumpt
- gosimple
- govet
- ineffassign
- intrange
2 years ago
- makezero
- misspell
- nilerr
2 years ago
- nolintlint
- nosprintfhostport
2 years ago
- staticcheck
- tenv
2 years ago
- unconvert
- unused
2 years ago
- usestdlibvars
2 years ago
- wastedassign
- whitespace
2 years ago
linters-settings:
staticcheck:
checks:
- all
- -SA1019 # omit Deprecated check
severity:
default-severity: error
rules:
- linters:
- gofmt
- goimports
- intrange
- usestdlibvars
severity: info