relnotes/v1.68.0.md
Style/BitwisePredicate cop. (@koic)Style/CombinableDefined cop. (@dvandersluis)Style/AmbiguousEndlessMethodDefinition cop. (@dvandersluis)Lint/UnescapedBracketInRegexp cop. (@dvandersluis)AllowSteepAnnotation config option to Layout/LeadingCommentSpace. (@tk0miya)IgnoreDuplicateElseBranch option to Lint/DuplicateBranch. (@fatkodima)Style/SafeNavigationChainLength cop. (@fatkodima)Style/KeywordArgumentsMerging cop. (@fatkodima)Style/RedundantLineContinuation when there is a line continuation at the EOF. (@koic)Naming/BlockForwarding with Style/ExplicitBlockArgument. (@koic)Style/BlockDelimiters autocorrection does not move other code between the block and comment. (@dvandersluis)Lint/UselessAssignment cop when there is a useless assignment followed by a block. (@pCosta99)Style/MapIntoArray when using non-splatted arguments. (@vlad-pisanov)Layout/SpaceBeforeBrackets when there is a dot before []=. (@earlopain)Lint/SafeNavigationConsistency when using safe navigation on the LHS with operator method on the RHS of &&. (@koic)Style/GuardClause when using a local variable assigned in a conditional expression in a branch. (@koic)Style/RedundantLineContinuation when required line continuations for && is used with an assignment after a line break. (@koic)Style/RedundantParentheses when parentheses are used around method chain with do...end block in keyword argument. (@koic)Lint/SafeNavigationChain when a safe navigation operator is used with a method call as the RHS operand of && for the same receiver. (@koic)--disable-uncorrectable to not insert a comment inside a string continuation. (@dvandersluis)Lint/UselessAssignment a multiple assignment or for contains an inner assignment. (@dvandersluis)Style/BlockDelimiters when EnforcedStyle: semantic is set and used with Layout/SpaceInsideBlockBraces. (@koic)Style/RedundantInterpolationUnfreeze and Style/RedundantFreeze when strings contain interpolated global, instance, and class variables. (@vlad-pisanov)Layout/LineLength from breaking up a method with arguments chained onto a heredoc delimiter. (@dvandersluis)--display-only-correctable and --display-only-safe-correctable when no offenses are displayed. (@dvandersluis)Style/MultipleComparison when ComparisonsThreshold exceeds 2. (@fatkodima, @vlad-pisanov)Lint/NonAtomicFileOperation when using a postfix unless for file existence checks before creating a file, in cases with Dir.mkdir. (@kotaro0522)PercentLiteralCorrector to be able to write pairs of delimiters without excessive escaping. (@dvandersluis)Style/SafeNavigation to not autocorrect if the RHS of an and node is an or node. (@dvandersluis)Style/TernaryParentheses with a send node condition, ensure its arguments are parenthesized. (@dvandersluis)rubocop -V, show the analysis Ruby version of the current directory. (@earlopain)