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 running ruby -wc).

    ๐Ÿ”„ Changes

    • โœ‚ Removed the BlockAlignSchema configuration option from EndAlignment. We now support only the default alignment schema - StartOfAssignment.
    • ๐Ÿ”ง Made the preferred collection methods in CollectionMethods configurable.
    • ๐Ÿ’… Made the DotPosition cop configurable - now both leading and trailing 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 _ in ShadowingOuterLocalVariable.
    • ๐Ÿ‘ป #322: Fix exception of UnusedLocalVariable and ShadowingOuterLocalVariable 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 and ShadowingOuterLocalVariable when inspecting named captures.
    • ๐Ÿ‘ป #333: Fix a case that EnsureReturn throws an exception when ensure has no body.