Files
document-server-integration/web/documentserver-example/go/.golangci.yml
2025-02-24 17:18:50 +03:00

47 lines
746 B
YAML

linters:
enable-all: true
disable:
- cyclop
- depguard
- dogsled
- durationcheck
- err113
- errchkjson
- execinquery
- exhaustruct
- exportloopref
- funlen
- gochecknoglobals
- gocognit
- goconst
- godox
- gofumpt
- gomnd
- gosec
- interfacebloat
- ireturn
- mirror
- mnd
- musttag
- nestif
- nlreturn
- noctx
- nolintlint
- nonamedreturns
- perfsprint
- prealloc
- revive
- varnamelen
- wrapcheck
- wsl
linters-settings:
errcheck:
exclude-functions:
- (net/http.ResponseWriter).Write
lll:
line-length: 120
gofmt:
simplify: false
stylecheck:
checks: ["all", "-ST1016", "-ST1003"]