Back to Rubocop

V1.21.0

relnotes/v1.21.0.md

1.86.12.0 KB
Original Source

New features

  • #7849: Add new Lint/AmbiguousOperatorPrecedence cop. (@dvandersluis)
  • #9061: Add new Lint/IncompatibleIoSelectWithFiberScheduler cop. (@koic)

Bug fixes

  • #10067: Fix an error for Lint/NumberConversion when using nested number conversion methods. (@koic)
  • #10054: Fix a false positive for Layout/SpaceAroundOperators when match operators between << and +=. (@koic)
  • #10061: Fix a false positive for Style/RedundantSort when using size method in the block. (@koic)
  • #10063: Fix a false positive for Layout/SingleLineBlockChain when method call chained on a new line after a single line block with trailing dot. (@koic)
  • #10064: Fix Style/ExplicitBlockArgument corrector assuming any existing block argument was named block. (@byroot)
  • #10070: Fix a false positive for Style/MutableConstant when using non-interpolated heredoc in Ruby 3.0. (@koic)

Changes

  • #9674: Disable Style/AsciiComments by default. (@dvandersluis)
  • #10051: Improve the messaging for Style/Documentation to be more clear about what class/module needs documentation. (@dvandersluis)
  • #10074: Update Naming/InclusiveLanguage to be disabled by default. (@dvandersluis)
  • #10068: Mark Style/AndOr as unsafe auto-correction. (@koic)