summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-08-29 19:20:02 +0000
committerRobert Speicher <robert@gitlab.com>2017-08-29 19:20:02 +0000
commit3abcf8eab20bd00cd35663775d3c217ae42c49cd (patch)
treebbe0cd800597e5f4d507a8d012db9a94a1b7832f
parent172cb70d4c427163895ec1792bd955f85748842d (diff)
parentad7178ad8754417cd1a66afb4596b7a457e8fd47 (diff)
downloadgitlab-ce-3abcf8eab20bd00cd35663775d3c217ae42c49cd.tar.gz
Merge branch '31362_decrease_cyclomatic_complexity_threshold_step2' into 'master'
Decrease Metrics/CyclomaticComplexity threshold to 15 See merge request !13905
-rw-r--r--.rubocop.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index e96f4273c6a..3edd1643d48 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -643,7 +643,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: