github rubocop/rubocop v0.60.0
RuboCop 0.60

latest releases: v1.63.5, v1.63.3, v1.63.4...
5 years ago

New features

Bug fixes

  • #6330: Fix an error for Rails/ReversibleMigration when using variable assignment. (@koic, @scottmatthewman)
  • #6331: Fix a false positive for Style/RedundantFreeze and a false negative for Style/MutableConstant when assigning a regexp object to a constant. (@koic)
  • #6334: Fix a false negative for Style/RedundantFreeze when assigning a range object to a constant. (@koic)
  • #5538: Fix false negatives in modifier cops when line length cop is disabled. (@drenmi)
  • #6340: Fix an error for Rails/ReversibleMigration when block argument is empty. (@koic)
  • #6274: Fix "[Corrected]" message being displayed even when nothing has been corrected. (@jekuta)
  • #6380: Allow use of a hyphen-separated frozen string literal in Emacs style magic comment. (@y-yagi)
  • Fix and improve LineLength cop for tab-indented code. (@AlexWayfer)

Changes

  • #3727: Enforce single spaces for key option in Layout/AlignHash cop. (@albaer)
  • #6321: Fix run of RuboCop when cache directory is not writable. (@Kevinrob)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.