summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Rydkin <maks.rydkin@gmail.com>2017-08-29 18:39:21 +0300
committerMaxim Rydkin <maks.rydkin@gmail.com>2017-08-29 18:39:21 +0300
commitad7178ad8754417cd1a66afb4596b7a457e8fd47 (patch)
tree09372da9021b32150e713c6bc919409e307e0544
parent2a8dec2c27726cd0af995de97e596eab78e6efbf (diff)
downloadgitlab-ce-ad7178ad8754417cd1a66afb4596b7a457e8fd47.tar.gz
Decrease Metrics/CyclomaticComplexity threshold to 15
-rw-r--r--.rubocop.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index abdda90a33e..194a40665e4 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -631,7 +631,7 @@ Metrics/ClassLength:
# of test cases needed to validate a method.
Metrics/CyclomaticComplexity:
Enabled: true
- Max: 16
+ Max: 15
# Limit lines to 80 characters.
Metrics/LineLength: