ipfs-cluster/.codeclimate.yml
Hector Sanjuan f2efcc3f10 Codeclimate: increase thresholds again. They're too low for Go.
In go it doesn't matter if function returns 20 times. We need to do
a lot of error checking and that's how it should be.

Each of those error checks are 3 lines of code
so it also doesn't matter if functions are a bit longer.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-19 22:24:03 +01:00

35 lines
480 B
YAML

ratings:
paths:
- "**/*.go"
checks:
file-lines:
config:
threshold: 500
method-complexity:
config:
threshold: 12
method-lines:
config:
threshold: 80
similar-code:
enabled: false
return-statements:
config:
threshold: 10
engines:
fixme:
enabled: true
config:
strings:
- FIXME
- HACK
- XXX
- BUG
golint:
enabled: true
govet:
enabled: true
gofmt:
enabled: true