relnotes/v1.81.0.md
Style/ArrayIntersectWithSingleElement cop. (@r7kamura)EnforcedStyleForMultiline: diff_comma in Style/TrailingCommaInArguments. (@akouryy)Style/NilComparison cop when using the var.==(nil) and var.===(nil) syntax. (@viralpraxis)Style/ExplicitBlockArgument when there are two methods that share the same implementation. (@earlopain)Style/NumberedParameters and Style/ItBlockParameter when using multiline method chain with EnforcedStyle: allow_single_line. (@koic)Layout/MultilineOperationIndentation when using indented code on LHS of equality operator in modifier method definition. (@koic)Layout/EmptyLineBetweenDefs for AllowAdjacentOneLineDefs: false and DefLikeMacros that take no block. (@earlopain)EnforcedStyle: allowed_in_returns and !! appears across multiple lines in return position. (@koic)Style/RedundantParentheses when parentheses are used around a one-line rescue expression as a condition. (@koic)Style/RedundantRegexpEscape when an escaped variable sigil follows # (e.g., /#\@foo/, /#\@@bar/, /#\$baz/). (@koic)Layout/RescueEnsureAlignment with a block whose send node is split over multiple lines. (@dvandersluis)Style/RedundantFormat when the format string has a variable width that isn't given as a literal value. (@dvandersluis)ParserEngine: parser_prism is configured in a base config file. (@sudoremo)Lint/Void when using a return value in assignment method definition. (@koic)Style/RedundantRegexpArgument when using escaped single quote character. (@koic)Style/UnlessElse when using unless with then. (@koic).rubocop.yml, .rubocop_todo.yml) change. (@earlopain).rubocop config file. (@earlopain)Layout/LineLength autocorrection from splitting a block if its receiver contains a heredoc. (@dvandersluis)Lint/ShadowedArgument when assigning inside a rescue block. (@earlopain)