Files
gotify-server/.golangci.yml
2023-09-16 21:06:54 +02:00

52 lines
910 B
YAML

run:
skip-dirs:
- plugin/example
- plugin/testing
linters:
enable:
- asciicheck
- exportloopref
- godot
- gofmt
- gofumpt
- goimports
- gomodguard
- goprintffuncname
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- nolintlint
- sqlclosecheck
- staticcheck
- stylecheck
- typecheck
- unconvert
- unused
- 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