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>
This commit is contained in:
Hector Sanjuan 2018-01-17 13:40:49 +01:00
parent a1ab106fcc
commit f2efcc3f10

View File

@ -11,9 +11,12 @@ checks:
threshold: 12
method-lines:
config:
threshold: 60
threshold: 80
similar-code:
enabled: false
return-statements:
config:
threshold: 10
engines:
fixme: