sharded-gotify/.golangci.yml

55 lines
970 B
YAML

run:
skip-dirs:
- plugin/example
- plugin/testing
linters:
enable:
- asciicheck
- deadcode
- exportloopref
- godot
- gofmt
- gofumpt
- goimports
- gomodguard
- goprintffuncname
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- nolintlint
- sqlclosecheck
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unused
- varcheck
- whitespace
disable:
- goerr113
- errcheck
- funlen
- gochecknoglobals
- gocognit
- goconst
- gocyclo
- godox
- gomnd
- lll
- maligned
- nestif
- nlreturn
- noctx
- testpackage
- wsl
linters-settings:
gofumpt:
extra-rules: true
misspell:
locale: US