.rubocop.yml in image_optim-0.22.0 vs .rubocop.yml in image_optim-0.22.1
- old
+ new
@@ -1,8 +1,9 @@
AllCops:
Exclude:
- '*.gemspec'
+ - 'vendor/**/*'
Lint/EndAlignment:
AlignWith: variable
Metrics/AbcSize:
@@ -21,10 +22,13 @@
Max: 8
Style/AccessModifierIndentation:
EnforcedStyle: outdent
+Style/Alias:
+ EnforcedStyle: prefer_alias_method
+
Style/CaseIndentation:
IndentWhenRelativeTo: end
Style/DotPosition:
EnforcedStyle: trailing
@@ -39,10 +43,16 @@
EnforcedStyle: hash_rockets
Style/IfUnlessModifier:
MaxLineLength: 40
+Style/IndentArray:
+ EnforcedStyle: consistent
+
+Style/IndentAssignment:
+ Enabled: false
+
Style/IndentHash:
EnforcedStyle: consistent
Style/ParallelAssignment:
Enabled: false
@@ -53,13 +63,19 @@
'%W': '[]'
Style/Semicolon:
AllowAsExpressionSeparator: true
+Style/SignalException:
+ EnforcedStyle: semantic
+
Style/SpaceBeforeBlockBraces:
EnforcedStyle: no_space
Style/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
-Style/TrailingComma:
+Style/TrailingCommaInArguments:
+ EnforcedStyleForMultiline: no_comma
+
+Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: comma