Skip to content

RuboCop 1.54

Compare
Choose a tag to compare
@bbatsov bbatsov released this 01 Jul 08:15
· 828 commits to master since this release

New features

  • #12000: Support safe or unsafe autocorrect config for LSP. (@koic)

Bug fixes

  • #12005: Fix a false negative for Lint/Debugger when using debugger method inside lambda. (@koic)
  • #11986: Fix a false positive for Lint/MixedCaseRange when the number of characters at the start or end of range is other than 1. (@koic)
  • #11992: Fix an unexpected NoMethodError for built-in language server when an internal error occurs. (@koic)
  • #11994: Fix an error for Layout/LineEndStringConcatenationIndentation when inspecting the % from string %\n\n. (@koic)
  • #12007: Fix an error for Layout/SpaceAroundOperators when using unary operator with double colon. (@koic)
  • #11996: Fix an error for Style/IfWithSemicolon when without branch bodies. (@koic)
  • #12009: Fix an error for Style/YodaCondition when equality check method is used without the first argument. (@koic)
  • #11998: Fix an error when inspecting blank heredoc delimiter. (@koic)
  • #11989: Fix an incorrect autocorrect for Style/RedundantRegexpArgument when using unicode chars. (@koic)
  • #12001: Fix code length calculator for method calls with heredoc. (@fatkodima)
  • #12002: Fix Lint/Void cop for __ENCODING__ constant. (@fatkodima)

Changes

  • #11983: Add Ridgepole files to default Include list. (@ydah)
  • #11738: Enhances empty_line_between_defs to treat configured macros like defs. (@catwomey)