From 23bea8e3d37c2e2fbb24a489dd08b78cacbe91b9 Mon Sep 17 00:00:00 2001 From: theworldbright Date: Thu, 30 Jul 2015 15:17:34 +0900 Subject: [PATCH] Raise rubocop abc size metric from 15 to 20 closes #6271 --- .rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 7cbf4af9d..39651d553 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -13,6 +13,10 @@ Metrics/MethodLength: # The guiding principle of classes is SRP, SRP can't be accurately measured by LoC Metrics/ClassLength: Max: 1500 + +# Raise AbcSize from 15 to 20 +Metrics/AbcSize: + Max: 20 # No space makes the method definition shorter and differentiates # from a regular assignment.