39 lines
578 B
YAML
39 lines
578 B
YAML
run:
|
|
timeout: 5m
|
|
deadline: 5m
|
|
skip-dirs-use-default: true
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- bodyclose
|
|
- dupl
|
|
- errcheck
|
|
- gocritic
|
|
- gocyclo
|
|
- gofmt
|
|
- goimports
|
|
- revive
|
|
- godot
|
|
- gofumpt
|
|
- gomnd
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- prealloc
|
|
- unparam
|
|
- varcheck
|
|
fast: false
|
|
linters-settings:
|
|
gofmt:
|
|
simplify: false
|
|
testpackage:
|
|
skip-regexp: ".*"
|
|
gocyclo:
|
|
min-complexity: 20
|
|
gomnd:
|
|
settings:
|
|
mnd:
|
|
ignored-numbers: 0,1,2,3
|
|
issues:
|
|
exclude-use-default: false
|