Rubocop v0.27.0 Release Notes

Release Date: 2014-10-30 // over 9 years ago
  • ๐Ÿ†• New features

    • #1348: New cop ElseAlignment checks alignment of else and elsif keywords. ([@jonas054][])
    • #1321: New cop MultilineOperationIndentation checks indentation/alignment of binary operations if they span more than one line. ([@jonas054][])
    • #1077: New cop Metrics/AbcSize checks the ABC metric, based on assignments, branches, and conditions. ([@jonas054][], [@jfelchner][])
    • ๐Ÿ”ง #1352: WordArray is now configurable with the WordRegex option. ([@bquorning][])
    • ๐Ÿ’… #1181: New cop Style/StringLiteralsInInterpolation checks quotes inside interpolated expressions in strings. ([@jonas054][])
    • ๐Ÿ’… #872: Style/IndentationWidth is now configurable with the Width option. ([@jonas054][])
    • 0๏ธโƒฃ #1396: Include .opal files by default. ([@bbatsov][])
    • ๐Ÿ’… #771: Three new Style cops, EmptyLinesAroundMethodBody , EmptyLinesAroundClassBody , and EmptyLinesAroundModuleBody replace the EmptyLinesAroundBody cop. ([@jonas054][])

    ๐Ÿ”„ Changes

    • ๐Ÿ’… #1084: Disabled Style/CollectionMethods by default. ([@bbatsov][])

    ๐Ÿ› Bugs fixed

    • AlignHash no longer skips multiline hashes that contain some elements on the same line. ([@mvz][])
    • #1349: BracesAroundHashParameters no longer cleans up whitespace in auto-correct, as these extra corrections are likely to interfere with other cops' corrections. ([@jonas054][])
    • #1350: Guard against Blocks cop introducing syntax errors in auto-correct. ([@jonas054][])
    • ๐Ÿ“œ #1374: To eliminate interference, auto-correction is now done by one cop at a time, with saving and re-parsing in between. ([@jonas054][])
    • #1388: Fix a false positive in FormatString. ([@bbatsov][])
    • #1389: Make --out to create parent directories. ([@yous][])
    • Refine HTML formatter. ([@yujinakayama][])
    • #1410: Handle specially Java primitive type references in ColonMethodCall. ([@bbatsov][])