From a0025587eb86a26c5bb97f816b5bea0288ffbc00 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Fri, 8 Dec 2017 16:47:15 +0100 Subject: [PATCH 1/2] Adjust some codeclimate settings License: MIT Signed-off-by: Hector Sanjuan --- .codeclimate.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.codeclimate.yml b/.codeclimate.yml index 58ec6e22..ae81fae7 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -2,6 +2,16 @@ ratings: paths: - "**/*.go" +checks: + file-lines: + config: + threshold: 500 + method-complexity: + config: + threshold: 8 + similar-code: + enabled: false + engines: fixme: enabled: true From 763bd060a57ed1359a0fb5c1a3dfe071fe36f2fc Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Fri, 8 Dec 2017 16:57:44 +0100 Subject: [PATCH 2/2] Increase lines of code per method in codeclimate License: MIT Signed-off-by: Hector Sanjuan --- .codeclimate.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.codeclimate.yml b/.codeclimate.yml index ae81fae7..c546a4a7 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -9,6 +9,9 @@ checks: method-complexity: config: threshold: 8 + method-lines: + config: + threshold: 60 similar-code: enabled: false