40 lines
588 B
YAML
40 lines
588 B
YAML
|
|
linters:
|
||
|
|
enable:
|
||
|
|
- errcheck
|
||
|
|
- gosimple
|
||
|
|
- govet
|
||
|
|
- ineffassign
|
||
|
|
- staticcheck
|
||
|
|
- unused
|
||
|
|
- copyloopvar
|
||
|
|
- dupl
|
||
|
|
- err113
|
||
|
|
- errname
|
||
|
|
- exptostd
|
||
|
|
- fatcontext
|
||
|
|
- funlen
|
||
|
|
- gocognit
|
||
|
|
- goconst
|
||
|
|
- gocritic
|
||
|
|
- gocyclo
|
||
|
|
- godot
|
||
|
|
- godox
|
||
|
|
- gosec
|
||
|
|
- perfsprint
|
||
|
|
- testifylint
|
||
|
|
|
||
|
|
linters-settings:
|
||
|
|
testifylint:
|
||
|
|
enable-all: true
|
||
|
|
disable:
|
||
|
|
- require-error
|
||
|
|
gocognit:
|
||
|
|
min-complexity: 5
|
||
|
|
gocyclo:
|
||
|
|
min-complexity: 5
|
||
|
|
gocritic:
|
||
|
|
enable-all: true
|
||
|
|
settings:
|
||
|
|
hugeParam:
|
||
|
|
sizeThreshold: 255
|