68 lines
951 B
YAML
68 lines
951 B
YAML
|
run:
|
||
|
tests: true
|
||
|
build-tags:
|
||
|
- bench
|
||
|
- !bench
|
||
|
|
||
|
linters-settings:
|
||
|
funlen:
|
||
|
lines: 150
|
||
|
statements: 80
|
||
|
|
||
|
issues:
|
||
|
exclude-rules:
|
||
|
- path: _test\.go
|
||
|
linters:
|
||
|
- errcheck
|
||
|
- dupl
|
||
|
- gocyclo
|
||
|
- gosec
|
||
|
|
||
|
linters:
|
||
|
disable-all: true
|
||
|
enable:
|
||
|
- asciicheck
|
||
|
- bodyclose
|
||
|
- depguard
|
||
|
- dogsled
|
||
|
- dupl
|
||
|
- durationcheck
|
||
|
- errorlint
|
||
|
- exhaustive
|
||
|
- exportloopref
|
||
|
- funlen
|
||
|
- gci
|
||
|
- gocognit
|
||
|
- goconst
|
||
|
- gocritic
|
||
|
- gocyclo
|
||
|
- godot
|
||
|
- gofmt
|
||
|
- gofumpt
|
||
|
- goheader
|
||
|
- goprintffuncname
|
||
|
- gosec
|
||
|
- gosimple
|
||
|
- govet
|
||
|
- importas
|
||
|
- ineffassign
|
||
|
- lll
|
||
|
- makezero
|
||
|
- misspell
|
||
|
- nestif
|
||
|
- nilerr
|
||
|
- noctx
|
||
|
- nolintlint
|
||
|
- prealloc
|
||
|
- predeclared
|
||
|
- revive
|
||
|
- staticcheck
|
||
|
- stylecheck
|
||
|
- tagliatelle
|
||
|
- thelper
|
||
|
- typecheck
|
||
|
- unconvert
|
||
|
- unparam
|
||
|
- unused
|
||
|
- whitespace
|