AllCops: Exclude: - '*.gemspec' Layout/AccessModifierIndentation: EnforcedStyle: outdent Layout/CaseIndentation: EnforcedStyle: end Layout/DotPosition: EnforcedStyle: trailing Layout/EndAlignment: EnforcedStyleAlignWith: variable Layout/IndentFirstArrayElement: EnforcedStyle: consistent Layout/IndentFirstHashElement: EnforcedStyle: consistent Layout/SpaceBeforeBlockBraces: EnforcedStyle: no_space EnforcedStyleForEmptyBraces: no_space Layout/SpaceInsideHashLiteralBraces: EnforcedStyle: no_space Lint/NestedPercentLiteral: Enabled: false Lint/UnneededSplatExpansion: Enabled: false Metrics/AbcSize: Max: 25 Metrics/BlockLength: Exclude: - 'script/benchmark' - 'spec/**/*.rb' Metrics/CyclomaticComplexity: Max: 10 Metrics/MethodLength: Max: 20 Metrics/ModuleLength: Max: 300 Metrics/PerceivedComplexity: Max: 8 Style/Alias: EnforcedStyle: prefer_alias_method Style/BracesAroundHashParameters: Enabled: false Style/DoubleNegation: Enabled: false Style/Encoding: Enabled: false Style/FormatStringToken: Enabled: false Style/HashSyntax: EnforcedStyle: hash_rockets Style/IfUnlessModifier: Enabled: false Style/NumericPredicate: EnforcedStyle: comparison Style/ParallelAssignment: Enabled: false Style/PercentLiteralDelimiters: PreferredDelimiters: '%w': '[]' '%W': '[]' Style/SafeNavigation: Enabled: false Style/Semicolon: AllowAsExpressionSeparator: true Style/SignalException: EnforcedStyle: semantic Style/TrailingCommaInArguments: EnforcedStyleForMultiline: no_comma Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma