You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New option --cache-root and support for the RUBOCOP_CACHE_ROOT environment variable. Both can be used to override the AllCops: CacheRootDirectory config, especially in a CI setting. (@sascha-wolf)
#8582: Add new Layout/BeginEndAlignment cop. (@koic)
#8699: Add new Lint/IdentityComparison cop. (@koic)
#8707: Add new Lint/ConstantDefinitionInBlock cop. (@eugeneius)
Bug fixes
#8627: Fix a false positive for Lint/DuplicateRequire when same feature argument but different require method. (@koic)
#8674: Fix an error for Layout/EmptyLineAfterMultilineCondition when conditional is at the top level. (@fatkodima)
#8658: Fix a false positive for Style/RedundantSelfAssignment when calling coercion methods. (@fatkodima)
#8669: Fix an offense creation for Lint/EmptyFile. (@fatkodima)
#8607: Fix a false positive for Lint/UnreachableLoop when conditional branch includes continue statement preceding break statement. (@fatkodima)
#8572: Fix a false positive for Style/RedundantParentheses when parentheses are used like method argument parentheses. (@koic)
#8630: Fix some false positives for Style/HashTransformKeys and Style/HashTransformValues when the receiver is an array. (@eugeneius)
#8653: Fix a false positive for Layout/DefEndAlignment when using refinements and private def. (@koic)
#8655: Fix a false positive for Style/ClassAndModuleChildren when using cbase class name. (@koic)
#8654: Fix a false positive for Style/SafeNavigation when checking foo&.empty? in a conditional. (@koic)
#8660: Fix a false positive for Style/ClassAndModuleChildren when using cbase module name. (@koic)
#8664: Fix a false positive for Naming/BinaryOperatorParameterName when naming multibyte character method name. (@koic)
#8604: Fix a false positive for Bundler/DuplicatedGem when gem is duplciated in condition. (@tejasbubane)
#8671: Fix an error for Style/ExplicitBlockArgument when using safe navigation method call. (@koic)
#8681: Fix an error for Style/HashAsLastArrayItem with no_braces for empty hash. (@fsateler)
#8682: Fix a positive for Style/HashTransformKeys and Style/HashTransformValues when the each_with_object hash is used in the transformed key or value. (@eugeneius)
#8688: Mark Style/GlobalStdStream as unsafe autocorrection. (@marcandre)
#8642: Fix a false negative for Style/SpaceInsideHashLiteralBraces when a correct empty hash precedes the incorrect hash. (@dvandersluis)
#8683: Make naming cops work with non-ascii characters. (@tejasbubane)
#8626: Fix false negatives for Lint/UselessMethodDefinition. (@marcandre)