ginzip/.golangci.yaml
Theta-Dev ed0a05df42
All checks were successful
continuous-integration/drone Build is passing
Initial commit
2021-12-17 14:05:22 +01:00

29 lines
439 B
YAML

linters:
presets:
- bugs
- import
- module
enable:
- gofumpt
- lll
- predeclared
- gocognit
- nestif
disable:
- scopelint
- noctx
linters-settings:
lll:
line-length: 88
gocognit:
min-complexity: 10
nestif:
min-complexity: 3
errcheck:
exclude-functions:
- "(*github.com/gin-gonic/gin.Context).Error"
- "(*github.com/gin-gonic/gin.Context).AbortWithError"