81 lines
1.3 KiB
YAML
81 lines
1.3 KiB
YAML
run:
|
|
tests: false
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- asciicheck
|
|
- bidichk
|
|
- bodyclose
|
|
- containedctx
|
|
- contextcheck
|
|
- decorder
|
|
- depguard
|
|
- dogsled
|
|
- dupl
|
|
- durationcheck
|
|
- errcheck
|
|
- errchkjson
|
|
# FIXME: commented out as it crashes with 1.18 for now
|
|
# - errname
|
|
- errorlint
|
|
- exportloopref
|
|
- forbidigo
|
|
- funlen
|
|
- gci
|
|
- gochecknoglobals
|
|
- gochecknoinits
|
|
- gocognit
|
|
- goconst
|
|
- gocritic
|
|
- gocyclo
|
|
- godox
|
|
- gofmt
|
|
- gofumpt
|
|
- goheader
|
|
- goimports
|
|
- gomnd
|
|
- gomoddirectives
|
|
- gomodguard
|
|
- goprintffuncname
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- grouper
|
|
- ifshort
|
|
- importas
|
|
- ineffassign
|
|
- lll
|
|
- maintidx
|
|
- makezero
|
|
- misspell
|
|
- nakedret
|
|
- nilerr
|
|
- nilnil
|
|
- noctx
|
|
- nolintlint
|
|
- paralleltest
|
|
- prealloc
|
|
- predeclared
|
|
- promlinter
|
|
# FIXME: doesn't support 1.18 yet
|
|
# - revive
|
|
- rowserrcheck
|
|
- sqlclosecheck
|
|
- staticcheck
|
|
- structcheck
|
|
- stylecheck
|
|
- tagliatelle
|
|
- tenv
|
|
- testpackage
|
|
- thelper
|
|
- tparallel
|
|
- typecheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
- varcheck
|
|
- varnamelen
|
|
- wastedassign
|
|
- whitespace
|