diff --git a/.rubocop.yml b/.rubocop.yml index cf8452545..bbbd9bc6c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -168,6 +168,12 @@ Metrics/AbcSize: branches, and conditions. Enabled: false +Metrics/CyclomaticComplexity: + Description: >- + A complexity metric that is strongly correlated to the number + of test cases needed to validate a method. + Enabled: true + # TODO Style/FileName: @@ -185,8 +191,6 @@ Style/RedundantSelf: Enabled: false Style/CommentIndentation: Enabled: false -Metrics/CyclomaticComplexity: - Enabled: false Style/GlobalVars: Enabled: false Rails/TimeZone: