.rubocop.yml in image_optim-0.26.2 vs .rubocop.yml in image_optim-0.26.3
- old
+ new
@@ -28,10 +28,13 @@
EnforcedStyle: consistent
Layout/IndentHeredoc:
Enabled: false
+Layout/RescueEnsureAlignment:
+ Enabled: false
+
Layout/SpaceBeforeBlockBraces:
EnforcedStyle: no_space
EnforcedStyleForEmptyBraces: no_space
Layout/SpaceInsideHashLiteralBraces:
@@ -49,11 +52,11 @@
Lint/UnneededSplatExpansion:
Enabled: false
Metrics/AbcSize:
- Max: 30
+ Max: 33
Metrics/BlockLength:
Exclude:
- 'lib/image_optim/runner/option_parser.rb'
- 'script/worker_analysis'
@@ -61,10 +64,13 @@
Metrics/ClassLength:
Max: 150
Metrics/CyclomaticComplexity:
- Max: 10
+ Max: 11
+
+Metrics/LineLength:
+ Max: 120
Metrics/MethodLength:
Max: 25
Metrics/PerceivedComplexity: