.rubocop.yml in image_optim-0.26.5 vs .rubocop.yml in image_optim-0.27.0

- old
+ new

@@ -1,37 +1,41 @@ AllCops: Exclude: - '*.gemspec' - 'vendor/**/*' + NewCops: enable Bundler/OrderedGems: Enabled: false Layout/AccessModifierIndentation: EnforcedStyle: outdent +Layout/AssignmentIndentation: + Enabled: false + Layout/CaseIndentation: EnforcedStyle: end Layout/DotPosition: EnforcedStyle: trailing Layout/EndAlignment: EnforcedStyleAlignWith: variable -Layout/IndentFirstArrayElement: +Layout/FirstArrayElementIndentation: EnforcedStyle: consistent -Layout/IndentAssignment: - Enabled: false - -Layout/IndentFirstHashElement: +Layout/FirstHashElementIndentation: EnforcedStyle: consistent -Layout/IndentHeredoc: +Layout/HeredocIndentation: Enabled: false +Layout/LineLength: + Max: 120 + Layout/RescueEnsureAlignment: Enabled: false Layout/SpaceBeforeBlockBraces: EnforcedStyle: no_space @@ -45,14 +49,14 @@ - spec/**/*_spec.rb Lint/NestedPercentLiteral: Enabled: false -Lint/UnneededRequireStatement: +Lint/RedundantRequireStatement: Enabled: false -Lint/UnneededSplatExpansion: +Lint/RedundantSplatExpansion: Enabled: false Metrics/AbcSize: Max: 33 @@ -66,23 +70,23 @@ Max: 150 Metrics/CyclomaticComplexity: Max: 11 -Metrics/LineLength: - Max: 120 - Metrics/MethodLength: Max: 25 Metrics/PerceivedComplexity: - Max: 8 + Max: 10 Security/MarshalLoad: Exclude: - 'script/worker_analysis' +Style/AccessorGrouping: + Enabled: false + Style/Alias: EnforcedStyle: prefer_alias_method Style/DoubleNegation: Enabled: false @@ -97,17 +101,29 @@ Enabled: false Style/FormatStringToken: Enabled: false +Style/HashEachMethods: + Enabled: true + Style/HashSyntax: EnforcedStyle: hash_rockets +Style/HashTransformKeys: + Enabled: false + +Style/HashTransformValues: + Enabled: false + Style/IfUnlessModifier: Enabled: false Style/NumericPredicate: EnforcedStyle: comparison + +Style/OptionalBooleanParameter: + Enabled: false Style/ParallelAssignment: Enabled: false Style/RescueStandardError: