From 87c2499d7e327b974b06d88807d93aba0db7b32a Mon Sep 17 00:00:00 2001 From: Braiden Vasco Date: Thu, 20 Jul 2017 19:24:36 +0000 Subject: [PATCH] Configure RuboCop --- .rubocop.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index f7e84ec..fb83941 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,41 @@ AllCops: + TargetRubyVersion: 2.3 + DisplayCopNames: true + Exclude: - vendor/**/* + +Layout/AccessModifierIndentation: + EnforcedStyle: outdent + +Layout/MultilineOperationIndentation: + Exclude: + - ext/**/* + +Metrics/BlockLength: + Exclude: + - tox.gemspec + - spec/**/* + +Metrics/LineLength: + Max: 120 + +Style/AndOr: + Exclude: + - ext/**/* + +Style/DoubleNegation: + Enabled: false + +Style/GlobalVars: + Exclude: + - ext/**/* + +Style/TrailingCommaInArguments: + EnforcedStyleForMultiline: comma + +Style/TrailingCommaInLiteral: + EnforcedStyleForMultiline: comma + +Style/VariableInterpolation: + Enabled: false