relnotes/v0.44.0.md
empty_lines_except_namespace to Style/EmptyLinesAroundClassBody and Style/EmptyLinesAroundModuleBody. (@legendetm)Rails/HttpPositionalArguments cop to check your Rails 5 test code for existence of positional args usage. (@logicminds)ConvertCodeThatCanStartToReturnNil, to Style/SafeNavigation to check for code that could start returning nil if safe navigation is used. (@rrosenblum)AllCops/StyleGuideBaseURL setting that allows the use of relative paths and/or fragments within each cop's StyleGuide setting, to make forking of custom style guides easier. (@scottmatthewman)Metric/BlockLength cop to ensure blocks don't get too long. (@savef)Style/PreferredHashMethods with either short or verbose style method names. (@abrom)Rails/DynamicFindBy cop. (@pocke)IgnoreCopDirectives, to Metrics/LineLength to stop cop directives (# rubocop:disable Metrics/AbcSize) from being counted when considering line length. (@jmks)Rails/DelegateAllowBlank cop. (@connorjacobsen)Style/MultilineMemoization cop. (@drenmi)Style/ExtraSpacing cop register an offense for extra spaces present in single-line hash literals. (@tcdowney)Style/TernaryParentheses for a ternary with ranges. (@dreyks)Lint/AssignmentInCondition false positive. (@savef)Style/VariableNumber cop not register an offense when valid normal case variable names have an integer after the first _. (@b-t-g)Style/VariableNumber cop not register an offense when valid normal case variable names have an integer in the middle. (@b-t-g)Rails/SaveBang cop not register an offense when return value of a non-bang method is returned by the parent method. (@coorasse)Style/GuardClause to register offense for instance and singleton methods. (@tejasbubane)Style/StringLiterals. (@deivid-rodriguez)Lint/UnusedBlockArgument doesn't make recommendations that would change arity for methods defined using #define_method. (@drenmi)Performance/RedundantMerge when inspecting a #merge! with implicit receiver. (@drenmi)when in Performance/CaseWhenSplat. (@jonas054)self.a, self.b = b, a in Style/ParallelAssignment. (@jonas054)unless x.nil? in Style/NonNilCheck if IncludeSemanticChanges is true. (@jonas054)Style/EmptyElse. (@lumeet)\s) in Style/UnneededCapitalW. (@rrosenblum)Style/RaiseArgs not allowing compact raise with splatted args. (@savef)Metrics/AbcSize. (@savef)Style/RedundantParentheses for indexing with literals. (@thegedge)Performance/CaseWhenSplat when trying to rearrange splat expanded variables to the end of a when condition. (@rrosenblum)Lint/UnneededSplatExpansion for array in method parameters. (@tejasbubane)Style/SafeNavigation. Fix auto-correct of multiline if expressions, and do not register an offense for scenarios using || and ternary expression. (@rrosenblum)Style/EmptyLinesAroundAccessModifier. (@bquorning)Security/JSONLoad by default. (@savef)Style/RedundantReturn looks for redundant return inside conditional branches. (@lumeet)