relnotes/v0.50.0.md
EnforcedStyleForEmptyBraces parameter to Layout/SpaceBeforeBlockBraces cop. (@palkan)Style/RedundantConditional checks for conditionals that return true/false. (@petehamilton)TapFormatter. (@cyberdelia)Style/HeredocDelimiters cop. (@drenmi)Lint/ReturnInVoidContext checks for the use of a return with a value in a context where it will be ignored. (@harold-s)Lint/ScriptPermission. (@rrosenblum)Style/YodaCondition to support checking all comparison operators or equality operators only. (@smakagon)Lint/BooleanSymbol cop. (@droptheplot)Rails/PluralizationGrammar use singular methods for -1 / -1.0. (@promisedlandt)Rails/HasManyOrHasOneDependent cop. (@oboxodo)Style/Dir cop. (@drenmi)Style/HeredocDelimiterCase cop. (@drenmi)Lint/RescueWithoutErrorClass cop. (@drenmi)Style/TrailingUnderscoreVariable. (@smakagon)Performance/UnfreezeString cop. (@pocke)Whitelist configuration option to Style/NestedParenthesizedCalls cop. (@drenmi)Style/DoublePipeEquals cop. (@donjar)rake new_cop create parent directories if they do not already exist. (@highb)Performance/HashEachMethod inspect send nodes with any receiver. (@gohdaniel15)Style/ReturnNil cop. (@donjar)define_method. (@jekuta)Lint/UriEscapeUnescape cop. (@koic)Performance/UriDefaultParser cop. (@koic)Lint/UriRegexp cop. (@koic)Style/MinMax cop. (@drenmi)Bundler/InsecureProtocolSource cop. (@koic)Lint/RedundantWithIndex cop`. (@koic)Style/RedundantConditional cop work with elsif. (@akhramov)Style/ConditionalAssignment autocorrection to work with unbracketed arrays. (@akhramov)<=> a comparison method. (@iGEL)Lint/FormatParameterMismatch false positive if format string includes %%5B (CGI encoded left bracket). (@barthez)Style/LambdaCall to autocorrect obj.call to obj.. (@iGEL)Style/YodaCondition from breaking not LITERAL. (@pocke)Style/Alias for non-literal arguments. (@drenmi)Style/AndOr cop aware of comparison methods. (@drenmi)Lint/Void with initialize and setter methods. (@pocke)Style/ConditionalAssignment when the assignment line is the longest line, and it does not exceed the max line length. (@rrosenblum)Style/EmptyElse for nested if. (@pocke)Lint/UnreachableCode aware of if and case. (@pocke)Performance/RegexpMatch for named captures. (@pocke)rubocop:disable all in Lint/UnneededDisable. (@meganemura)Style/VariableName aware of optarg, kwarg and other arguments. (@pocke)Style/WordArray and Style/SymbolArray from registering offenses where percent arrays don't work. (@drenmi)Layout/EmptyLineBetweenDefs from removing too many lines. (@drenmi)Style/NumericPredicate ignore numeric comparison of global variables. (@drenmi)Layout/Multiline*BraceLayout. (@jonas054)Style/SafeNavigation does not register an offense when there are chained method calls. (@rrosenblum)Rails/Delegate. (@cgriego)Lint/Void cop. (@pocke)Performance/RegexpMatch cop for =~ is in a class method. (@pocke)Lint/FormatParameterMismatch for format with "asterisk" (*) width and precision. (@smakagon)Lint/DefEndAlignment aware of multiple modifiers. (@drenmi)Layout/IndentHeredoc cop. (@pocke)Lint/Debugger aware of Kernel and cbase. (@pocke)Style/InverseMethods to not register a separate offense for an inverse method nested inside of the block of an inverse method offense. (@rrosenblum)Rails/SaveBang when save/update_attribute is used with a case statement. (@theRealNG)rake new_cop problem that doesn't add require line. (@koic)RaiseArgs auto-correction issue for raise with 3 arguments. (@smakagon)Lint/AssignmentInCondition. (@brandonweiss)node_modules to default excludes. (@iainbeeston)Style/Encoding cop enabled by default. (@deivid-rodriguez)Rails/Delegate for enforcing the prefixed method name case. (@klesse413)Lint/Void cop aware of Enumerable#each and for. (@pocke)Lint/DuplicateMethods aware of alias and alias_method. (@pocke)Performance/Caller cop. (@pocke)Lint/DuplicateMethods aware of attr_* methods. (@pocke)RuboCop::CLI#run as a public API. (@yujinakayama)Performance/Caller aware of caller_locations. (@pocke)Style/HeredocDelimiters to Style/HeredocDelimiterNaming. (@drenmi)Style/RedundantReturn cop. (@gohdaniel15)Naming department. (@drenmi)Style/RedundantSelf aware of arguments of a block. (@Envek)Performance/TimesMap by default. (@Envek)