.rubocop.yml
AllCops:
TargetRubyVersion: 2.1
Naming/PredicateName:
Enabled: false
Layout/IndentHash:
EnforcedStyle: consistent
Layout/AlignHash:
EnforcedLastArgumentHashStyle: ignore_implicit
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Layout/IndentArray:
EnforcedStyle: consistent
Style/SymbolArray:
EnforcedStyle: brackets
Style/WordArray:
EnforcedStyle: brackets
Layout/SpaceInsideHashLiteralBraces:
Enabled: true
EnforcedStyle: no_space
Style/IfUnlessModifier:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/Lambda:
Enabled: false
Layout/MultilineOperationIndentation:
EnforcedStyle: indented
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Layout/AlignParameters:
EnforcedStyle: with_fixed_indentation
Layout/EmptyLineBetweenDefs:
NumberOfEmptyLines: 2
Layout/EmptyLines:
Enabled: false
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Metrics/ParameterLists:
Max: 5
Metrics/BlockLength:
Max: 50
Metrics/MethodLength:
Max: 50
Metrics/ClassLength:
Max: 200
Metrics/ModuleLength:
Max: 200
Metrics/CyclomaticComplexity:
Max: 30
Metrics/PerceivedComplexity:
Max: 30
Metrics/AbcSize:
Max: 30
Metrics/LineLength:
Max: 100
Style/AccessModifierDeclarations:
EnforcedStyle: inline