AllCops: Exclude: - '*.gemspec' Lint/EndAlignment: EnforcedStyleAlignWith: variable Metrics/BlockLength: Exclude: - spec/**/*_spec.rb Metrics/ClassLength: Max: 250 Metrics/MethodLength: Max: 15 Style/AccessModifierIndentation: EnforcedStyle: outdent Style/BracesAroundHashParameters: Enabled: false Style/CaseIndentation: EnforcedStyle: end Style/DotPosition: EnforcedStyle: trailing Style/DoubleNegation: Enabled: false Style/Encoding: EnforcedStyle: when_needed Style/HashSyntax: EnforcedStyle: hash_rockets Style/IfUnlessModifier: MaxLineLength: 40 Style/IndentHash: EnforcedStyle: consistent Style/MultilineIfModifier: Exclude: - spec/**/*_spec.rb Style/OpMethod: # leave name in `def ~(name = nil)` Enabled: false Style/PercentLiteralDelimiters: PreferredDelimiters: '%w': '[]' '%W': '[]' Style/Semicolon: AllowAsExpressionSeparator: true Style/SignalException: EnforcedStyle: semantic Style/SpaceBeforeBlockBraces: EnforcedStyle: no_space Style/SpaceInsideHashLiteralBraces: EnforcedStyle: no_space Style/TrailingCommaInArguments: EnforcedStyleForMultiline: no_comma Style/TrailingCommaInLiteral: EnforcedStyleForMultiline: comma