Rubocop v0.85.0 Release Notes
Release Date: 2020-06-01 // almost 4 years ago-
๐ New features
- #6289: Add new
CheckDefinitionPathHierarchy
option forNaming/FileName
. (@jschneid) - ๐
#8055: Add new
Style/RedundantRegexpCharacterClass
cop. (@owst) - #8069: New option for
expect_offense
to help format offense templates. (@marcandre) - ๐
#7908: Add new
Style/RedundantRegexpEscape
cop. (@owst) - #7978: Add new option
OnlyFor
to theBundler/GemComment
cop. (@ric2b) - #8063: Add new
AllowedNames
option forNaming/ClassAndModuleCamelCase
. (@tejasbubane) - โ
#8050: New option
--display-only-failed
that can be used with--format junit
. Speeds up test report processing for large codebases and helps address the sorts of concerns raised at mikian/rubocop-junit-formatter #18. (@burnettk) - ๐ #7746: Add new
Lint/MixedRegexpCaptureTypes
cop. (@pocke)
๐ Bug fixes
- ๐ #8008: Fix an error for
Lint/SuppressedException
when empty rescue block indef
. (@koic) - ๐ #8012: Fix an incorrect autocorrect for
Lint/DeprecatedOpenSSLConstant
when deprecated OpenSSL constant is used in a block. (@koic) - ๐ #8017: Fix a false positive for
Lint/SuppressedException
when empty rescue with comment indef
. (@koic) - #7990: Fix resolving
inherit_gem
in remote configs. (@CvX) - ๐ #8035: Fix a false positive for
Lint/DeprecatedOpenSSLConstant
when using double quoted string argument. (@koic) - โก๏ธ #7971: Fix an issue where
--disable-uncorrectable
would not update uncorrected code withrubocop:todo
. (@rrosenblum) - ๐ #8035: Fix a false positive for
Lint/DeprecatedOpenSSLConstant
when argument is a variable, method, or consntant. (@koic)
๐ Changes
- #8056: (Breaking) Remove support for unindent/active_support/powerpack from
Layout/HeredocIndentation
, so it only recommends using squiggy heredoc. (@bquorning)
- #6289: Add new