gems rubocop 1.6.0
RuboCop 1.6

latest releases: 1.66.1, 1.66.0, 1.65.1...
3 years ago

New features

  • #9125: Allow ConfigObsoletion to be extended by other RuboCop libraries. (@dvandersluis)
  • #9182: Support auto-correction for Style/RedundantArgument. (@koic)
  • #9186: Support auto-correction for Style/FloatDivision. (@koic)
  • #9167: Support auto-correct for StyleSingleLineBlockParams. (@koic)

Bug fixes

  • #9177: Remove back-ref related code from Style/SpecialGlobalVars. (@r7kamura)
  • #9160: Fix an incorrect auto-correct for Style/IfUnlessModifier and Style/SoleNestedConditional when auto-correction conflicts for guard condition. (@koic)
  • #9174: Handle send nodes with unparenthesized arguments in Style/SoleNestedConditional. (@dvandersluis)
  • #9184: Layout/EmptyLinesAroundAttributeAccessor fails if the attr_accessor is the last line of the file. (@tas50)

Changes

  • #9171: Add "did you mean" message when failing due to invalid cops in configuration. (@dvandersluis)
  • #8897: Change Style/StringConcatenation to accept line-end concatenation between two strings so that Style/LineEndConcatenation can handle it instead. (@dvandersluis)
  • #9172: Add Style/PerlBackrefs targets and change message more detailed. (@r7kamura)
  • #9187: Update formatters to output [Correctable] for correctable offenses. (@dvandersluis)
  • #9169: Add obsoletion warnings for Performance/* and Rails/* which are in separate gems now. (@dvandersluis)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.