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

This commit is contained in:
Thorsten Eckel 2015-05-06 11:23:51 +02:00
parent 123f88aa34
commit 0fc920df18

View file

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