AllCops: Exclude: - '*.gemspec' - 'vendor/**/*' Bundler/OrderedGems: Enabled: false Layout/AccessModifierIndentation: EnforcedStyle: outdent Layout/CaseIndentation: EnforcedStyle: end Layout/DotPosition: EnforcedStyle: trailing Layout/IndentArray: EnforcedStyle: consistent Layout/IndentAssignment: Enabled: false Layout/IndentHash: EnforcedStyle: consistent Layout/IndentHeredoc: Enabled: false Layout/SpaceBeforeBlockBraces: EnforcedStyle: no_space Layout/SpaceInsideHashLiteralBraces: EnforcedStyle: no_space Lint/AmbiguousBlockAssociation: Exclude: - spec/**/*_spec.rb Lint/EndAlignment: EnforcedStyleAlignWith: variable Lint/NestedPercentLiteral: Enabled: false Lint/UnneededSplatExpansion: Enabled: false Metrics/AbcSize: Max: 30 Metrics/BlockLength: Exclude: - 'lib/image_optim/runner/option_parser.rb' - 'script/worker_analysis' - 'spec/**/*.rb' Metrics/ClassLength: Max: 150 Metrics/CyclomaticComplexity: Max: 10 Metrics/MethodLength: Max: 25 Metrics/PerceivedComplexity: Max: 8 Security/MarshalLoad: Exclude: - 'script/worker_analysis' Style/Alias: EnforcedStyle: prefer_alias_method Style/DoubleNegation: Enabled: false Style/EmptyCaseCondition: Enabled: false Style/Encoding: Enabled: false Style/FormatStringToken: Enabled: false Style/HashSyntax: EnforcedStyle: hash_rockets Style/IfUnlessModifier: Enabled: false Style/ParallelAssignment: Enabled: false Style/RescueStandardError: EnforcedStyle: implicit Style/Semicolon: AllowAsExpressionSeparator: true Style/SignalException: EnforcedStyle: semantic Style/SymbolArray: Enabled: false Style/TrailingCommaInArguments: EnforcedStyleForMultiline: no_comma Style/TrailingCommaInLiteral: EnforcedStyleForMultiline: comma