Rubocop v0.9.1 Release Notes
Release Date: 2013-07-05 // almost 11 years ago-
๐ New features
- โ Added
-l/--lint
option to allow doing only linting with no style checks (similar to runningruby -wc
).
๐ Changes
- โ Removed the
BlockAlignSchema
configuration option fromEndAlignment
. We now support only the default alignment schema -StartOfAssignment
. - ๐ง Made the preferred collection methods in
CollectionMethods
configurable. - ๐
Made the
DotPosition
cop configurable - now bothleading
andtrailing
styles are supported.
๐ Bugs fixed
- #318: Correct some special cases of block end alignment.
- #317: Fix a false positive in
LiteralInCondition
. - #321: Ignore variables whose name start with
_
inShadowingOuterLocalVariable
. - ๐ป #322: Fix exception of
UnusedLocalVariable
andShadowingOuterLocalVariable
when inspecting keyword splat argument. - #316: Correct nested postfix unless in
MultilineIfThen
. - #327: Fix false offences for block expression that span on two lines in
EndAlignment
. - ๐ป #332: Fix exception of
UnusedLocalVariable
andShadowingOuterLocalVariable
when inspecting named captures. - ๐ป #333: Fix a case that
EnsureReturn
throws an exception when ensure has no body.
- โ Added