Bug Fixes
- #2232: Fix false positive in
Lint/FormatParameterMismatch
for argument with splat operator. (@dreyks) - #2237: Allow
Lint/FormatParameterMismatch
to be called usingKernel.format
andKernel.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 runningrubocop --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 forrescue
andensure
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)