act/.golangci.yml

22 lines
351 B
YAML
Raw Normal View History

2019-01-16 09:41:02 +08:00
linters-settings:
gocyclo:
# minimal code complexity to report, 30 by default (but we recommend 10-20)
min-complexity: 10
gocritic:
disabled-checks:
- ifElseChain
linters:
enable:
- megacheck
- govet
- golint
- gocyclo
- gosec
- unconvert
- dupl
- maligned
- nakedret
- prealloc
- scopelint
- gocritic