github rubocop/rubocop v0.34.2
RuboCop 0.34.2

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

Bug Fixes

  • #2232: Fix false positive in Lint/FormatParameterMismatch for argument with splat operator. (@dreyks)
  • #2237: Allow Lint/FormatParameterMismatch to be called using Kernel.format and Kernel.sprintf. (@rrosenblum)
  • #2234: Do not register an offense for Lint/FormatParameterMismatch when the format string is a variable. (@rrosenblum)
  • #2240: Lint/UnneededDisable should not report non-Lint rubocop:disable comments when running rubocop --lint. (@jonas054)
  • #2121: Allow space before values in hash literals in Style/ExtraSpacing to avoid correction conflict. (@jonas054)
  • #2241: Read cache in binary format. (@jonas054)
  • #2247: Fix auto-correct of Performance/CaseWhenSplat for percent arrays (%w, %W, %i, and %I). (@rrosenblum)
  • #2244: Disregard annotation keywords in Style/CommentAnnotation if they don't start a comment. (@jonas054)
  • #2257: Fix bug where Style/RescueEnsureAlignment will register an offense for rescue and ensure on the same line. (@rrosenblum)
  • #2255: Refine the offense highlighting for Style/SymbolProc. (@bbatsov)
  • #2260: Make Exclude in .rubocop_todo.yml work when running from a subdirectory. (@jonas054)

Changes

  • #2248: Allow block-pass in Style/AutoResourceCleanup. (@lumeet)
  • #2258: Style/Documentation will exclude test directories by default. (@rrosenblum)
  • #2260: Disable Style/StringMethods by default. (@bbatsov)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.