Files
gotify-server/.golangci.yml
Jannis Mattheis 3454dcd602 Use golangci-lint
2020-11-01 10:47:02 +01:00

59 lines
1.0 KiB
YAML

run:
skip-dirs:
- plugin/example
- plugin/testing
linters:
enable:
- asciicheck
- deadcode
- depguard
- exportloopref
- gci
- godot
- gofmt
- gofumpt
- goimports
- golint
- gomodguard
- goprintffuncname
- gosimple
- govet
- ineffassign
- interfacer
- 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