relnotes/v0.56.0.md
Performance/InefficientHashSearch cop. (@JacobEvelyn)Rails/RefuteMethods cop. (@koic)Rails/AssertNot cop. (@composerinteralia)Layout/ClosingParenthesisIndentation detection including method chaining. (@jfelchner)consistent_relative_to_receiver style option to Layout/FirstParameterIndentation. (@jfelchner)AR::Migration#up_only for Rails/ReversibleMigration cop. (@koic)Lint/ErbNewArguments cop. (@koic)Lint/SplatKeywordArguments cop. (@koic)Include, Exclude and the new RubyInterpreters parameters for file selection. (@jonas054)Style/EmptyMethod which concatenated the method name and first argument if no method def parentheses are used. (@thomasbrus)Rails/SaveBang when using negated if. (@Edouard-chin)Lint/SafeNavigationChain not detecting chained operators after block. (@Darhazer)Lint/SafeNavigationConsistency registers multiple offenses for the same method call. (@rrosenblum)Style/CommentAnnotation reporting only the first of multiple consecutive offending lines. (@svendittmer)Lint/SafeNavigationConsistency when there is code around the condition. (@rrosenblum)Rails/HasManyOrHasOneDependent when using nested with_options. (@koic)--stdin always treats input as Ruby source irregardless of filename. (@PointlessOne)Style/MethodCallWithArgsParentheses adding extra parentheses if the method argument was already parenthesized. (@dvandersluis)AllCops/Include were not inspected when passing the file name as an option. (@drenmi)Lint/PercentStringArray and Lint/PercentSymbolArray when the inspected file is binary encoded. (@akhramov)nil responds to in Lint/SafeNavigationConsistency. (@rrosenblum)Lint/LiteralInInterpolation if contains numbers. (@koic)Rails/CreateTableWithTimestamps when using hash options. (@wata727)Lint/UnneededCopEnableDirective for instruction '# rubocop:enable all'. (@balbesina)Rails/HttpPositionalArguments to use session instead of header. (@rrosenblum)Style/MethodMissing into two cops, Style/MethodMissingSuper and Style/MissingRespondToMissing. (@rrosenblum)AllowInMultilineConditions option to Style/ParenthesesAroundCondition cop. (@Darhazer)Layout/SpaceInsideReferenceBrackets when assigning a reference bracket to a reference bracket. (@joshuapinter)--auto-correct. (@jonas054)try! to the list of whitelisted methods for Lint/SafeNavigationChain and Style/SafeNavigation. (@rrosenblum)Style/EmptyLineAfterGuardClause cop to Layout department. (@koic)