From afcb6bd7288792924c468f3fc74eb5431bb79cd7 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Thu, 7 May 2015 14:39:19 +0200 Subject: [PATCH] Added Metrics/BlockNesting as log term target. --- .rubocop.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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: