.rubocop.yml in image_optim-0.26.1 vs .rubocop.yml in image_optim-0.26.2

- old
+ new

@@ -13,10 +13,13 @@ EnforcedStyle: end Layout/DotPosition: EnforcedStyle: trailing +Layout/EndAlignment: + EnforcedStyleAlignWith: variable + Layout/IndentArray: EnforcedStyle: consistent Layout/IndentAssignment: Enabled: false @@ -27,24 +30,25 @@ Layout/IndentHeredoc: Enabled: false Layout/SpaceBeforeBlockBraces: EnforcedStyle: no_space + EnforcedStyleForEmptyBraces: no_space Layout/SpaceInsideHashLiteralBraces: EnforcedStyle: no_space Lint/AmbiguousBlockAssociation: Exclude: - spec/**/*_spec.rb -Lint/EndAlignment: - EnforcedStyleAlignWith: variable - Lint/NestedPercentLiteral: Enabled: false +Lint/UnneededRequireStatement: + Enabled: false + Lint/UnneededSplatExpansion: Enabled: false Metrics/AbcSize: Max: 30 @@ -81,10 +85,13 @@ Enabled: false Style/Encoding: Enabled: false +Style/ExpandPathArguments: + Enabled: false + Style/FormatStringToken: Enabled: false Style/HashSyntax: EnforcedStyle: hash_rockets @@ -108,7 +115,10 @@ Enabled: false Style/TrailingCommaInArguments: EnforcedStyleForMultiline: no_comma -Style/TrailingCommaInLiteral: +Style/TrailingCommaInArrayLiteral: + EnforcedStyleForMultiline: comma + +Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma