github rubocop/rubocop v0.57.0
RuboCop 0.57

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

New features

  • #5881: Add new Rails/BulkChangeTable cop. (@wata727)
  • #5444: Add new Style/AccessModifierDeclarations cop. (@brandonweiss)
  • #5803: Add new Style/UnneededCondition cop. (@balbesina)
  • #5406: Add new Layout/ClosingHeredocIndentation cop. (@siggymcfried)
  • #5823: Add new slashes style to Rails/FilePath since Ruby accepts forward slashes even on Windows. (@sunny)
  • New cop Layout/LeadingBlankLines checks for empty lines at the beginning of a file. (@rrosenblum)

Bug fixes

  • #5897: Fix Style/SymbolArray and Style/WordArray not working on arrays of size 1. (@TikiTDO)
  • #5894: Fix Rails/AssertNot to allow it to have failure message. (@koic)
  • #5888: Do not register an offense for headers or env keyword arguments in Rails/HttpPositionalArguments. (@rrosenblum)
  • Fix the indentation of autocorrected closing squiggly heredocs. (@garettarrowood)
  • #5908: Fix Style/BracesAroundHashParameters auto-correct going past the end of the file when the closing curly brace is on the last line of a file. (@EiNSTeiN-)
  • Fix a bug where Style/FrozenStringLiteralComment would be added to the second line if the first line is empty. (@rrosenblum)
  • #5914: Make Layout/SpaceInsideReferenceBrackets aware of no_space when using nested reference brackets. (@koic)
  • #5799: Fix false positive in Style/MixinGrouping when method named include accepts block. (@Darhazer)

Changes

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.