relnotes/v0.37.0.md
Style/ZeroLengthPredicate checks for object.size == 0 and variants, and suggests replacing them with an appropriate empty? predicate. (@drenmi)Style/SpaceAroundKeyword cop. (@lumeet)Style/MultilineHashBraceLayout checks that the closing brace in a hash literal is symmetrical with respect to the opening brace and the hash elements. (@panthomakos)Style/MultilineMethodDefinitionBraceLayout checks that the closing brace in a method definition is symmetrical with respect to the opening brace and the method parameters. (@panthomakos)Performance/Casecmp can register offenses when str.downcase or str.upcase are passed to an equality method. (@rrosenblum)Style/MultilineMethodCallBraceLayout checks that the closing brace in a method call is symmetrical with respect to the opening brace and the method arguments. (@panthomakos)Performance/RedundantMerge. (@drenmi)Style/MutableConstant. (@segiddins)||= in Style/MutableConstant. (@segiddins)Style/ConditionalAssignment. (@segiddins)casecmp in Performance/casecmp. (@segiddins)xstr interpolations in Lint/LiteralInInterpolation. (@segiddins)freeze is called on a frozen string literal in Style/RedundantFreeze. (@segiddins)Performance/RedundantBlockCall. (@segiddins)Lint/DuplicateMethods doesn't crash when class_eval is used with an implicit receiver. (@lumeet)Style/RedundantParentheses. (@lumeet)Style/Next doesn't crash when auto-correcting modifier if/unless. (@lumeet)Performance/TimesMap for calling map or collect on a variable named times. (@rrosenblum)Performance/RedundantBlockCall to respect parentheses usage. (@rrosenblum)Lint/NestedMethodDefinition to respect Class.new and Module.new. (@owst)Style/NestedModifier adds parentheses around a condition when needed. (@lumeet)Lint/LiteralInInterpolation. (@lumeet)Performance/Casecmp can auto-correct case comparison to variables and method calls without error. (@rrosenblum)Style/RedundantParentheses. (@lumeet)Style/IndentationWidth, Style/ElseAlignment, Lint/EndAlignment, and Lint/DefEndAlignment. (@jonas054)Style/MultilineOperationIndentation. (@jonas054)rescue in Style/RedundantParentheses. (@rrosenblum)Style/TrailingCommaInArguments & Style/TrailingCommaInLiteral for inline single element arrays. (@annih)not in Style/MethodCallParentheses. (@lumeet)Style/SpaceAfterControlKeyword and Style/SpaceBeforeModifierKeyword as the more generic Style/SpaceAroundKeyword handles the same cases. (@lumeet)!= in Performance/casecmp. (@segiddins)Style/FrozenStringLiteralComment on the version of Ruby that is running. (@rrosenblum)Style/SignalException to only_raise. (@bbatsov)