relnotes/v0.31.0.md
Rails/TimeZone emits acceptable methods on a violation when EnforcedStyle is :acceptable. (@l8nite)ModuleLength checks for overly long module definitions. (@sdeframond)Performance/Count to convert Enumerable#select...size, Enumerable#reject...size, Enumerable#select...count, Enumerable#reject...count Enumerable#select...length, and Enumerable#reject...length to Enumerable#count. (@rrosenblum)CommentAnnotation cop does auto-correction. (@dylandavidson)Style/TrailingUnderscoreVariable to remove trailing underscore variables from mass assignment. (@rrosenblum)Performance/ParallelAssignment to avoid usages of unnecessary parallel assignment. (@rrosenblum)DefEndAlignment and EndAlignment cops do auto-correction. (@lumeet)IndentationWidth cop follows the AlignWith option of the DefEndAlignment cop. (@lumeet)EachWithObjectArgument checks that each_with_object isn't called with an immutable object as argument. (@jonas054)ArrayJoin cop does auto-correction. (@tmr08c)Sample when calling #shuffle with something other than an element selector. (@rrosenblum)DefEndAlignment recognizes preceding private_class_method or public_class_method before def. (@til)AlignHash for when to ignore a key because it's not on its own line. (@jonas054)Sample and FlatMap that would cause them to report having been auto-corrected when they were not. (@rrosenblum)UnusedMethodArgument that would cause them to report having been auto-corrected when they were not. (@jonas054)AutoCorrect configuration parameter, and remove warning for unknown parameter. (@jonas054)TrailingBlankLines when a file ends with a block comment without final newline. (@jonas054)MultilineTernaryOperator where it will not register an offense when only the false branch is on a separate line. (@rrosenblum)MultilineBlockLayout when using new lambda literal syntax without parentheses. (@hbd225)IfUnlessModifier concerning comments and empty lines. (@jonas054)SpaceAroundBlockParameters and SpaceAfterComma. (@lumeet)