From 8b10b41899c7ac10fc7ce538cbc281f9ef7a7b01 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 18 Jan 2017 08:39:53 +0000 Subject: [PATCH] Disable additional rubocop cops --- rubocop.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/rubocop.yml b/rubocop.yml index 1866f6b..33b9a1a 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -7,30 +7,30 @@ Rails: Documentation: Enabled: false -Metrics/ClassLength: - CountComments: false - Max: 200 +# Metrics/ClassLength: +# CountComments: false +# Max: 200 -Style/CollectionMethods: - PreferredMethods: - inject: 'inject' # disable "use reduce instead of inject" warning +# Style/CollectionMethods: +# PreferredMethods: +# inject: 'inject' # disable "use reduce instead of inject" warning Style/HashSyntax: EnforcedStyle: ruby19_no_mixed_keys -Metrics/LineLength: - Max: 80 - AllowURI: true +# Metrics/LineLength: +# Max: 80 +# AllowURI: true -Style/IfUnlessModifier: - MaxLineLength: 80 +# Style/IfUnlessModifier: +# MaxLineLength: 80 -Metrics/MethodLength: - CountComments: false - Max: 20 +# Metrics/MethodLength: +# CountComments: false +# Max: 20 -Style/WhileUntilModifier: - MaxLineLength: 80 +# Style/WhileUntilModifier: +# MaxLineLength: 80 -Style/WordArray: - Enabled: false +# Style/WordArray: +# Enabled: false