29 lines
458 B
YAML
29 lines
458 B
YAML
linters:
|
|
presets:
|
|
- bugs
|
|
- import
|
|
- module
|
|
|
|
enable:
|
|
- gofumpt
|
|
- lll
|
|
- predeclared
|
|
#- gocognit
|
|
#- nestif
|
|
|
|
disable:
|
|
- scopelint
|
|
- noctx
|
|
|
|
linters-settings:
|
|
lll:
|
|
line-length: 88
|
|
tab-width: 4
|
|
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"
|