Rubocop v0.82.0 Release Notes
Release Date: 2020-04-16 // about 4 years ago-
๐ New features
- ๐ #7867: Add support for tabs in indentation. (@DracoAter)
- #7863: Corrector now accepts nodes in addition to ranges. (@marcandre)
- #7862: Corrector now has a
wrap
method. (@marcandre) - #7850: Make it possible to enable/disable pending cops. (@koic)
- ๐
#7861: Make it to allow
Style/CaseEquality
when the receiver is a constant. (@rafaelfranca) - ๐
#7851: Add a new
Style/ExponentialNotation
cop. (@tdeo) - ๐
#7384: Add new
Style/DisableCopsWithinSourceCodeDirective
cop. (@egze) - #7826: Add new
Layout/SpaceAroundMethodCallOperator
cop. (@saurabhmaurya15)
๐ Bug fixes
- ๐ #7871: Fix an auto-correction bug in
Lint/BooleanSymbol
. (@knu) - ๐ #7842: Fix a false positive for
Lint/RaiseException
when raising Exception with explicit namespace. (@koic) - ๐ #7834: Fix
Lint/UriRegexp
to register offense with array arguments. (@tejasbubane) - ๐
#7841: Fix an error for
Style/TrailingCommaInBlockArgs
when lambda literal (->
) has multiple arguments. (@koic) - ๐ #7842: Fix a false positive for
Lint/RaiseException
when Exception without cbase specified under the namespaceGem
by addingAllowedImplicitNamespaces
option. (@koic) - ๐
Style/IfUnlessModifier
does not infinite-loop when autocorrecting long lines which use if/unless modifiers and have multiple statements separated by semicolons. (@alexdowad) - 0๏ธโฃ rubocop-hq/rubocop-rails#127: Use
ConfigLoader.default_configuration
for the default config. (@hanachin)
๐ Changes
- (Breaking) Renamed
Layout/Tab
cop toLayout/IndentationStyle
. (@DracoAter) - #7869: (Breaking) Drop support for Ruby 2.3. (@koic)