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