.rubocop.yml in image_optim_rails-0.4.1 vs .rubocop.yml in image_optim_rails-0.4.2
- old
+ new
@@ -1,37 +1,38 @@
AllCops:
Exclude:
- '*.gemspec'
- 'vendor/**/*'
+ - 'gemfiles/*.gemfile'
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
Layout/CaseIndentation:
EnforcedStyle: end
Layout/DotPosition:
EnforcedStyle: trailing
-Layout/IndentArray:
+Layout/EndAlignment:
+ EnforcedStyleAlignWith: variable
+
+Layout/IndentFirstArrayElement:
EnforcedStyle: consistent
Layout/IndentAssignment:
Enabled: false
-Layout/IndentHash:
+Layout/IndentFirstHashElement:
EnforcedStyle: consistent
Layout/SpaceBeforeBlockBraces:
EnforcedStyle: no_space
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
-Lint/EndAlignment:
- EnforcedStyleAlignWith: variable
-
Metrics/AbcSize:
Max: 30
Metrics/BlockLength:
Exclude:
@@ -50,18 +51,18 @@
Enabled: false
Style/EmptyCaseCondition:
Enabled: false
-Style/Encoding:
- EnforcedStyle: when_needed
+Style/ExpandPathArguments:
+ Enabled: false
Style/HashSyntax:
EnforcedStyle: hash_rockets
Style/IfUnlessModifier:
- MaxLineLength: 40
+ Enabled: false
Style/ParallelAssignment:
Enabled: false
Style/Semicolon:
@@ -71,7 +72,10 @@
EnforcedStyle: semantic
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: no_comma
-Style/TrailingCommaInLiteral:
+Style/TrailingCommaInArrayLiteral:
+ EnforcedStyleForMultiline: comma
+
+Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma