lib/rubocop/config_obsoletion.rb in rubocop-0.77.0 vs lib/rubocop/config_obsoletion.rb in rubocop-0.78.0

- old
+ new

@@ -46,11 +46,11 @@ 'Naming' => %w[Style/ClassAndModuleCamelCase Style/ConstantName Style/FileName Style/MethodName Style/PredicateName Style/VariableName Style/VariableNumber Style/AccessorMethodName Style/AsciiIdentifiers], 'Layout' => %w[Lint/BlockAlignment Lint/EndAlignment - Lint/DefEndAlignment], + Lint/DefEndAlignment Metrics/LineLength], 'Lint' => 'Style/FlipFlop' }.map do |new_department, old_names| Array(old_names).map do |old_name| [old_name, "The `#{old_name}` cop has been moved to " \ "`#{new_department}/#{old_name.split('/').last}`."] @@ -112,16 +112,16 @@ }, { cops: 'Style/IfUnlessModifier', parameters: 'MaxLineLength', alternative: '`Style/IfUnlessModifier: MaxLineLength` has been ' \ - 'removed. Use `Metrics/LineLength: Max` instead' + 'removed. Use `Layout/LineLength: Max` instead' }, { cops: 'Style/WhileUntilModifier', parameters: 'MaxLineLength', alternative: '`Style/WhileUntilModifier: MaxLineLength` has been ' \ - 'removed. Use `Metrics/LineLength: Max` instead' + 'removed. Use `Layout/LineLength: Max` instead' }, { cops: 'AllCops', parameters: 'RunRailsCops', alternative: "Use the following configuration instead:\n" \