Commit 6e60718c authored by Olivier Halligon's avatar Olivier Halligon

[Rubocop] Nuke Metrics/MethodLength rule

parent 88783d1b
...@@ -58,6 +58,11 @@ Next: ...@@ -58,6 +58,11 @@ Next:
Metrics/ClassLength: Metrics/ClassLength:
Enabled: false Enabled: false
# Arbitrary max lengths for methods simply do not work and enabling this will
# lead to a never ending stream of annoyance and changes.
Metrics/MethodLength:
Enabled: false
# No enforced convention here. # No enforced convention here.
Metrics/BlockNesting: Metrics/BlockNesting:
Enabled: false Enabled: false
......
...@@ -41,11 +41,6 @@ Metrics/CyclomaticComplexity: ...@@ -41,11 +41,6 @@ Metrics/CyclomaticComplexity:
Metrics/LineLength: Metrics/LineLength:
Max: 1060 Max: 1060
# Offense count: 106
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 40
# Offense count: 12 # Offense count: 12
Metrics/PerceivedComplexity: Metrics/PerceivedComplexity:
Max: 10 Max: 10
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment