From 8781f7bf61e16bd9928c1ef35ab4444c9e015404 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 28 Jul 2014 10:30:09 +0100 Subject: [PATCH] Update rubocop.yml --- rubocop.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/rubocop.yml b/rubocop.yml index e445684..9ff7a9f 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -4,6 +4,16 @@ AllCops: Style/AlignParameters: EnforcedStyle: with_fixed_indentation +Style/ClassLength: + CountComments: false + Max: 200 + +Style/EmptyLineBetweenDefs: + AllowAdjacentOneLineDefs: true + +Style/Encoding: + EnforcedStyle: when_needed + Style/HashSyntax: EnforcedStyle: hash_rockets @@ -13,3 +23,16 @@ Style/IndentHash: Style/LineLength: Max: 78 AllowURI: true + +Style/IfUnlessModifier: + MaxLineLength: 78 + +Style/MethodLength: + CountComments: false + Max: 20 + +Style/SingleLineBlockParams: + Methods: + +Style/WhileUntilModifier: + MaxLineLength: 78 \ No newline at end of file