.rubocop.yml in discourse_image_optim-0.24.5 vs .rubocop.yml in discourse_image_optim-0.26.1

- old
+ new

@@ -4,17 +4,47 @@ - '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 @@ -39,72 +69,46 @@ Security/MarshalLoad: Exclude: - 'script/worker_analysis' -Style/AccessModifierIndentation: - EnforcedStyle: outdent - Style/Alias: EnforcedStyle: prefer_alias_method -Style/CaseIndentation: - EnforcedStyle: end - -Style/DotPosition: - EnforcedStyle: trailing - Style/DoubleNegation: Enabled: false Style/EmptyCaseCondition: Enabled: false Style/Encoding: - EnforcedStyle: when_needed + Enabled: false +Style/FormatStringToken: + Enabled: false + Style/HashSyntax: EnforcedStyle: hash_rockets Style/IfUnlessModifier: - MaxLineLength: 40 - -Style/IndentArray: - EnforcedStyle: consistent - -Style/IndentAssignment: Enabled: false -Style/IndentHash: - EnforcedStyle: consistent - -Style/IndentHeredoc: - Enabled: false - Style/ParallelAssignment: Enabled: false -Style/PercentLiteralDelimiters: - PreferredDelimiters: - '%w': '[]' - '%W': '[]' +Style/RescueStandardError: + EnforcedStyle: implicit Style/Semicolon: AllowAsExpressionSeparator: true Style/SignalException: EnforcedStyle: semantic -Style/SpaceBeforeBlockBraces: - EnforcedStyle: no_space +Style/SymbolArray: + Enabled: false -Style/SpaceInsideHashLiteralBraces: - EnforcedStyle: no_space - Style/TrailingCommaInArguments: EnforcedStyleForMultiline: no_comma Style/TrailingCommaInLiteral: EnforcedStyleForMultiline: comma - -Style/SymbolArray: - Enabled: false