act/.golangci.yml

22 lines
339 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: 15
2019-01-16 09:41:02 +08:00
gocritic:
disabled-checks:
- ifElseChain
linters:
enable:
- megacheck
- govet
- golint
- gocyclo
- gosec
- unconvert
- dupl
- nakedret
- prealloc
- scopelint
- gocritic