From 32e65b12af2233814f4fae05be2699f0465b45d4 Mon Sep 17 00:00:00 2001 From: stve Date: Fri, 17 Feb 2017 15:39:27 -0500 Subject: [PATCH] update rubocop rules --- .rubocop.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index f29a300..857ab57 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,6 +6,11 @@ AllCops: - 'spec/**/*.rb' DisplayCopNames: true +Metrics/BlockLength: + Max: 36 + Exclude: + - spec/**/*.rb + Metrics/BlockNesting: Max: 2 @@ -34,9 +39,15 @@ Style/Documentation: Style/DoubleNegation: Enabled: false +Style/FrozenStringLiteralComment: + Enabled: false + Style/MutableConstant: Enabled: false +Style/NumericPredicate: + Enabled: false + Style/SpaceInsideHashLiteralBraces: EnforcedStyle: no_space