planetmint-go/.golangci.yaml
Julian Strobl 9662389446
[ci] Add all linters that don't affect the code (#177)
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-11-15 13:37:20 +01:00

80 lines
1.3 KiB
YAML

---
run:
timeout: 5m
linters:
enable:
- asasalint
- asciicheck
- bidichk
- bodyclose
- containedctx
- contextcheck
- decorder
- dogsled
- dupword
- durationcheck
- errcheck
- errchkjson
- errname
- execinquery
- exportloopref
- forbidigo
- ginkgolinter
- gocheckcompilerdirectives
- gochecksumtype
- gocognit
- goconst
- gocyclo
- gofmt
- goheader
- gomodguard
- goprintffuncname
- gosimple
- gosmopolitan
- govet
- grouper
- importas
- ineffassign
- interfacebloat
- loggercheck
- makezero
- mirror
- misspell
- nakedret
- nilerr
- nilnil
- nolintlint
- nosprintfhostport
- perfsprint
- prealloc
- predeclared
- promlinter
- protogetter
- reassign
- revive
- rowserrcheck
- sloglint
- sqlclosecheck
- staticcheck
- stylecheck
- tenv
- testableexamples
- tparallel
- unconvert
- unparam
- unused
- usestdlibvars
- wastedassign
- zerologlint
issues:
exclude-rules:
- path: codec\.go
linters:
- nosnakecase
- path: app\/simulation_test\.go
linters:
- nosnakecase
- path: testutil\/rest\.go
linters:
- nosnakecase