diff --git a/.rubocop.yml b/.rubocop.yml index a0f8162ce..06d4fee3e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -174,6 +174,11 @@ Metrics/CyclomaticComplexity: of test cases needed to validate a method. Enabled: false +Metrics/BlockNesting: + Description: 'Avoid excessive block nesting' + StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count' + Enabled: false + # TODO Style/FileName: @@ -193,8 +198,6 @@ Style/GlobalVars: Enabled: false Rails/TimeZone: Enabled: false -Metrics/BlockNesting: - Enabled: false Lint/RescueException: Enabled: false Style/PredicateName: