relnotes/v0.41.0.md
.ruby-version to TargetRubyVersion. (@pclalv)IndentationWidth configuration parameter for Style/AlignParameters cop. (@alexdowad)Style/ImplicitRuntimeError cop which advises the use of an explicit exception class when raising an error. (@alexdowad)Style/EachForSimpleLoop cop which advises the use of Integer#times for simple loops which iterate a fixed number of times. (@alexdowad)compact style for Style/SpaceInsideLiteralHashBraces. (@alexdowad)Rails/Validation cop. (@neodelf)Rails/OutputSafety cop. (@josh)Style/ModuleFunction configurable with module_function and extend_self styles. (@tjwp)Rails/RequestReferrer cop. (@giannileggio)Style/EachForSimpleLoop cop. (@tejasbubane)Style/SpaceInsideArrayPercentLiteral cop. (@owst)Style/SpaceInsidePercentLiteralDelimiters cop. (@owst)Lint/PercentStringArray cop. (@owst)Lint/PercentSymbolArray cop. (@owst)Style/NumericLiteralPrefix cop. (@tejasbubane)indented_relative_to_receiver for Style/MultilineMethodCallIndentation. (@jonas054)Lint/ShadowedException checks for the order which exceptions are rescued to avoid rescuing a less specific exception before a more specific exception. (@rrosenblum)Lint/InheritException checks for error classes inheriting from Exception, and instead suggests RuntimeError or StandardError. (@drenmi)Performance/PushSplat cop. (@segiddins)Rails/Exit cop. (@sgringwe)Style/StringLiterals understands that a bare '#', not '#@variable' or '#{interpolation}', does not require double quotes. (@alexdowad)Style/ExtraSpacing does not attempt to align an equals sign in an argument list with one in an assignment statement. (@alexdowad)Style/MultilineMethodCallBraceLayout does not register offenses for single-line calls. (@alexdowad)Style/MutableConstant does not infinite-loop when correcting an array with no brackets. (@alexdowad)Lint/UnusedBlockArgument's IgnoreEmptyBlocks parameter from being removed from configuration. (@jfelchner)end when auto-correcting Style/EmptyElse. (@rrosenblum)Lint/UselessAccessModifier reporting useless access modifiers inside {Class,Module,Struct}.new blocks. (@owst)Rails/UniqBeforePluck to ignore uniq with block. (@tejasbubane)Style/SpaceAroundKeyword allows &. method calls after super and yield. (@segiddins)Style/ZeroLengthPredicate to ignore size and length variables. (@tejasbubane)NegatedIf and NegatedWhile to ignore double negations. (@natalzia-paperless)Style/FrozenStringLiteralComment works with file doesn't have any tokens. (@pocke)() in Style/RedundantParentheses. (@lumeet)Style/SpaceAfterNot reporting on the not keyword. (@NobodysNightmare)Style/Lambda fix whitespacing when auto-correcting unparenthesized arguments. (@palkan)Style/StringLiterals. (@jonas054)LineEndConcatenation and UnneededInterpolation make changes to the same string during auto-correct. (@jonas054)Style/BlockDelimiters ignore blocks in all method arguments. (@jonas054)Style/ParallelAssignment to use implicit begins when parallel assignment uses a rescue modifier and is the only thing in the method. (@rrosenblum)while/until and begin..end + while/until in Style/InfiniteLoop. (@jonas054)Style/EmptyElse registering wrong offenses and thus making RuboCop crash. (@deivid-rodriguez)Style/SpaceInsideBlockBraces reports offenses for multi-line blocks. (@owst)Style/StringLiterals to register offenses on non-ascii strings. (@deivid-rodriguez)Style/StringLiterals to register offenses on non-ascii strings. (@deivid-rodriguez)RedundantBlockCall to not report calls that pass block arguments, or where the block has been overridden. (@owst).rubocop_todo.yml if different styles are used. (@flexoid)Rails/UniqBeforePluck more conservative. (@tjwp)Style/HashSyntax configurable to not report hash rocket syntax for symbols ending with ? or ! when using ruby19 style. (@owst)Style/ClosingParenthesisIndentation follow Style/AlignParameters configuration for method calls. (@jonas054)Style/DeprecatedHashMethods to Style/PreferredHashMethods. (@tejasbubane)