act/.golangci.yml

28 lines
431 B
YAML
Raw Normal View History

run:
timeout: 3m
2019-01-16 09:41:02 +08:00
linters-settings:
gocyclo:
# minimal code complexity to report, 30 by default (but we recommend 10-20)
mi-complexity: 15
2019-01-16 09:41:02 +08:00
gocritic:
disabled-checks:
2019-01-16 09:41:02 +08:00
- ifElseChain
linters:
enable:
- megacheck
- govet
- golint
- gocyclo
- gosec
- unconvert
- dupl
- nakedret
- prealloc
- exportloopref
- gocritic
- goimports
- whitespace
- misspell