Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz.bizon@ntsn.pl>2015-12-07 12:52:22 +0300
committerGrzegorz Bizon <grzegorz.bizon@ntsn.pl>2015-12-08 10:43:09 +0300
commit6ffe8a06fdf1ffc40e60a487a730b50c4699907d (patch)
treed77fd7abd67fac0d240aa92ad11ca5c98cdb35db /.rubocop.yml
parent652de0b820587983e0af76186db4570b536d7ce3 (diff)
Bump cyclomatic and perceived complexity threshold by one
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index fd382182abe..b4ca11c8343 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -743,14 +743,14 @@ Metrics/CyclomaticComplexity:
A complexity metric that is strongly correlated to the number
of test cases needed to validate a method.
Enabled: true
- Max: 16
+ Max: 17
Metrics/PerceivedComplexity:
Description: >-
A complexity metric geared towards measuring complexity for a
human reader.
Enabled: true
- Max: 16
+ Max: 17
Metrics/ParameterLists:
Description: 'Avoid parameter lists longer than three or four parameters.'