mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00
80 lines
1.3 KiB
YAML
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
|