.rubocop.yml in image_optim_rails-0.3.0 vs .rubocop.yml in image_optim_rails-0.4.0

- old
+ new

@@ -1,10 +1,34 @@ AllCops: Exclude: - '*.gemspec' - 'vendor/**/*' +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/SpaceBeforeBlockBraces: + EnforcedStyle: no_space + +Layout/SpaceInsideHashLiteralBraces: + EnforcedStyle: no_space + Lint/EndAlignment: EnforcedStyleAlignWith: variable Metrics/AbcSize: Max: 30 @@ -17,22 +41,13 @@ Max: 120 Metrics/MethodLength: Max: 25 -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 @@ -44,37 +59,17 @@ EnforcedStyle: hash_rockets Style/IfUnlessModifier: MaxLineLength: 40 -Style/IndentArray: - EnforcedStyle: consistent - -Style/IndentAssignment: - Enabled: false - -Style/IndentHash: - EnforcedStyle: consistent - Style/ParallelAssignment: 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: