All checks were successful
Go Action / goaction (push) Successful in 33s
Reviewed-on: #2
56 lines
897 B
YAML
56 lines
897 B
YAML
version: "2"
|
|
linters:
|
|
default: all
|
|
disable:
|
|
- wrapcheck
|
|
- wsl
|
|
- depguard
|
|
- revive
|
|
settings:
|
|
dupl:
|
|
threshold: 100
|
|
funlen:
|
|
lines: 100
|
|
statements: 50
|
|
goconst:
|
|
min-len: 2
|
|
min-occurrences: 2
|
|
gocyclo:
|
|
min-complexity: 15
|
|
lll:
|
|
line-length: 140
|
|
misspell:
|
|
locale: US
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
rules:
|
|
- linters:
|
|
- mnd
|
|
path: _test\.go
|
|
- linters:
|
|
- exhaustivestruct
|
|
- mnd
|
|
path: _suite\.go
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
formatters:
|
|
enable:
|
|
- gci
|
|
- gofmt
|
|
- gofumpt
|
|
- goimports
|
|
- golines
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|