Rubocop v0.74.0 Release Notes
Release Date: 2019-07-31 // over 4 years ago-
๐ New features
๐ Bug fixes
- ๐
#7217: Make
Style/TrailingMethodEndStatement
work on more than the firstdef
. (@buehmann) - ๐ #7190: Support lower case drive letters on Windows. (@jonas054)
- ๐ Fix the auto-correction of
Lint/UnneededSplatExpansion
when the splat expansion ofArray.new
with a block is assigned to a variable. (@rrosenblum) - #5628: Fix an error of
Layout/SpaceInsideStringInterpolation
on interpolations with multiple statements. (@buehmann) - #7128: Make
Metrics/LineLength
aware of shebang. (@koic) - ๐
#6861: Fix a false positive for
Layout/IndentationWidth
when usingEnforcedStyle: outdent
ofLayout/AccessModifierIndentation
. (@koic) - ๐
#7235: Fix an error where
Style/ConditionalAssignment
would swallow a nestedif
condition. (@buehmann) - ๐
#7242: Make
Style/ConstantVisibility
work on non-trivial class and module bodies. (@buehmann)
๐ Changes
- #5265: Improved
Layout/ExtraSpacing
cop to handle nested consecutive assignments. (@jfelchner) - ๐
#7215: Make it clear what's wrong in the message from
Style/GuardClause
. (@jonas054) - #7245: Make cops detect string interpolations in more contexts: inside of backticks, regular expressions, and symbols. (@buehmann)
- ๐
#7217: Make