Browse Source

Added rubocop cop 'Metrics/PerceivedComplexity' to the Zammad StyleGuide.

Thorsten Eckel 9 years ago
parent
commit
0fc920df18
1 changed files with 5 additions and 2 deletions
  1. 5 2
      .rubocop.yml

+ 5 - 2
.rubocop.yml

@@ -150,6 +150,11 @@ Rails/HasAndBelongsToMany:
 #  StyleGuide: 'https://github.com/bbatsov/rails-style-guide#has-many-through'
   Enabled: false
 
+Metrics/PerceivedComplexity:
+  Description: >-
+                 A complexity metric geared towards measuring complexity for a
+                 human reader.
+  Enabled: false
 
 # TODO
 
@@ -231,8 +236,6 @@ Style/ClassAndModuleChildren:
   Enabled: false
 Lint/StringConversionInInterpolation:
   Enabled: false
-Metrics/PerceivedComplexity:
-  Enabled: false
 Style/GlobalVars:
   Enabled: false
 Rails/TimeZone: