Rubocop v0.23.0 Release Notes

Release Date: 2014-06-02 // almost 10 years ago
  • ๐Ÿ†• New features

    • #1117: BlockComments cop does auto-correction. ([@jonas054][])
    • #1124: TrivialAccessors cop auto-corrects class-level accessors. ([@ggilder][])
    • #1062: New cop InlineComment checks for inline comments. ([@salbertson][])
    • #1118: Add checking and auto-correction of right brackets in IndentArray and IndentHash. ([@jonas054][])

    ๐Ÿ”„ Changes

    • ๐Ÿ’… #1097: Add optional namespace prefix to cop names: Style/LineLength instead of LineLength in config files, --only argument, --show-cops output, and # rubocop:disable. ([@jonas054][])
    • #1075: More strict limits on when to require trailing comma. ([@jonas054][])
    • ๐Ÿ“‡ Renamed Rubocop module to RuboCop. ([@bbatsov][])

    ๐Ÿ› Bugs fixed

    • #1126: Fix --auto-gen-config bug with RegexpLiteral where only the last file's results would be used. ([@ggilder][])
    • #1104: Fix EachWithObject with modifier if as body. ([@geniou][])
    • #1106: Fix EachWithObject with single method call as body. ([@geniou][])
    • โš  Avoid the warning about ignoring syck YAML engine from JRuby. ([@jonas054][])
    • #1111: Fix problem in EndOfLine with reading non-UTF-8 encoded files. ([@jonas054][])
    • #1115: Fix Next to ignore super nodes. ([@geniou][])
    • #1117: Don't auto-correct indentation in scopes that contain block comments (=begin..=end). ([@jonas054][])
    • ๐Ÿ‘ #1123: Support setter calls in safe assignment in ParenthesesAroundCondition. ([@jonas054][])
    • ๐Ÿ“š #1090: Correct handling of documentation vs annotation comment. ([@jonas054][])
    • ๐Ÿ’Ž #1118: Never write invalid ruby to a file in auto-correct. ([@jonas054][])
    • #1120: Don't change indentation of heredoc strings in auto-correct. ([@jonas054][])
    • #1109: Handle conditions with modifier ops in them in ParenthesesAroundCondition. ([@bbatsov][])