.codeclimate.yml
version: "2"
checks:
argument-count:
enabled: true
config:
threshold: 10
complex-logic:
enabled: true
config:
threshold: 4
file-lines:
enabled: false
method-complexity:
enabled: true
config:
threshold: 25
method-count:
enabled: true
config:
threshold: 20
method-lines:
enabled: true
config:
threshold: 180
nested-control-flow:
enabled: true
config:
threshold: 4
return-statements:
enabled: false
similar-code:
enabled: false
identical-code:
enabled: false
plugins:
gofmt:
enabled: true
govet:
enabled: true
golint:
enabled: false
fixme:
enabled: true
exclude_patterns:
- Makefile
- testdata/*