From 0fc920df18168c250834eed11b681f156c13fcea Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Wed, 6 May 2015 11:23:51 +0200 Subject: [PATCH] Added rubocop cop 'Metrics/PerceivedComplexity' to the Zammad StyleGuide. --- .rubocop.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 4e539d0c0..a773040f4 100644 --- a/.rubocop.yml +++ b/.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: