.rubocop.yml in image_optim_rails-0.2.0 vs .rubocop.yml in image_optim_rails-0.3.0
- old
+ new
@@ -2,25 +2,32 @@
Exclude:
- '*.gemspec'
- 'vendor/**/*'
Lint/EndAlignment:
- AlignWith: variable
+ EnforcedStyleAlignWith: variable
Metrics/AbcSize:
Max: 30
+Metrics/BlockLength:
+ Exclude:
+ - 'spec/**/*.rb'
+
+Metrics/LineLength:
+ Max: 120
+
Metrics/MethodLength:
Max: 25
Style/AccessModifierIndentation:
EnforcedStyle: outdent
Style/Alias:
EnforcedStyle: prefer_alias_method
Style/CaseIndentation:
- IndentWhenRelativeTo: end
+ EnforcedStyle: end
Style/DotPosition:
EnforcedStyle: trailing
Style/DoubleNegation: