relnotes/v0.51.0.md
Rails/UnknownEnv cop. (@pocke)Lint/UnneededRequireStatement cop. (@koic)Style/StderrPuts cop. (@koic)Lint/RedundantWithObject cop. (@koic)Style/CommentedKeyword cop. (@donjar)IndentationWidth configuration for Layout/Tab cop. (@rrosenblum)Lint/RegexpAsCondition cop. (@pocke)MethodDefinitionMacros option to Naming/PredicateName cop. (@koic)Gemspec/OrderedDependencies cop. (@sue445)Style/MixinUsage cop. (@koic)Style/DateTime cop. (@dpostorivo)Rails/Date Correct false positive on #to_time for strings ending in UTC-"Z". (@erikdstock)Style/SafeNavigation correctly exclude methods called without dot. (@drenmi)Lint/RescueWithoutErrorClass aware of modifier form rescue. (@drenmi)Style/SafeNavigation ignore negated continuations. (@drenmi)Performance/HashEachMethods from registering an offense when #each follows #to_a. (@drenmi)Rails/HasManyOrHasOneDependent cop from registering offense if :through option was specified. (@smakagon)return is in top scope. (@frodsan)Rails/Blank and Rails/Present from breaking when there is no explicit receiver. (@rrosenblum)Rails/Blank from breaking on send with an argument. (@pocke)Naming/HeredocDelimiterNaming and Naming/HeredocDelimiterCase aware of more delimiter patterns. (@drenmi)Lint/UnusedMethodArgument and Lint/UnusedBlockArgument aware of overriding assignments. (@akhramov)Lint/BooleanSymbol from truncating symbol's value in the message when offense is located in the new syntax hash. (@akhramov)Rails/HasManyOrHasOneDependent cop incorrectly flags with_options blocks. (@koic)Rails/OutputSafety aware of safe navigation operator. (@drenmi)Lint/ShadowedException cop aware of same system error code. (@koic)Style/TrailingUnderscoreVariable work for nested assignments. (@donjar)Style/StringLiterals cop not registering an offense on single quoted strings containing an escaped single quote when configured to use double quotes. (@promisedlandt)Lint/UnusedMethodArgument respects IgnoreEmptyMethods setting by ignoring unused method arguments for singleton methods. (@jmks)Lint/InvalidCharacterLiteral cop has been removed since it was never being actually triggered. (@deivid-rodriguez)Severity and other common parameters can be configured on department level. (@jonas054)Lint/LiteralInCondition cop aware of ! and not. (@pocke)Lint/LiteralInCondition to Lint/LiteralAsCondition. (@pocke)