Rubocop v0.48.1 Release Notes
Release Date: 2017-04-03 // about 7 years ago-
๐ Changes
- ๐
#4219: Add a link to style guide for
Style/IndentationConsistency
cop. ([@pocke][]) - ๐ #4168: Removed
-n
option. ([@sadovnik][]) - ๐
#4039: Change
Style/PercentLiteralDelimiters
default configuration to match Style Guide update. ([@drenmi][]) - ๐ #4235: Improved copy of offense message in
Lint/AmbiguousBlockAssociation
cop. ([@smakagon][])
๐ Bug fixes
- ๐
#4171: Prevent
Rails/Blank
from breaking when RHS ofor
is a naked falsiness check. ([@drenmi][]) - ๐ #4189: Make
Lint/AmbiguousBlockAssociation
aware of lambdas passed as arguments. ([@drenmi][]) - ๐
#4179: Prevent
Rails/Blank
from breaking when LHS ofor
is a naked falsiness check. ([@rrosenblum][]) - ๐
#4172: Fix false positives in
Style/MixinGrouping
cop. ([@drenmi][]) - ๐ #4185: Make
Lint/NestedMethodDefinition
aware of#*_exec
class of methods. ([@drenmi][]) - ๐
#4197: Fix false positive in
Style/RedundantSelf
cop with parallel assignment. ([@drenmi][]) - ๐
#4199: Fix incorrect auto correction in
Style/SymbolArray
andStyle/WordArray
cop. ([@pocke][]) - ๐ #4218: Make
Lint/NestedMethodDefinition
aware of class shovel scope. ([@drenmi][]) - ๐ #4198: Make
Lint/AmbguousBlockAssociation
aware of operator methods. ([@drenmi][]) - ๐
#4152: Make
Style/MethodCallWithArgsParentheses
not require parens on setter methods. ([@drenmi][]) - #4226: Show in
--help
output that--stdin
takes a file name argument. ([@jonas054][]) - ๐
#4217: Fix false positive in
Rails/FilePath
cop with non string argument. ([@soutaro][]) - ๐
#4106: Make
Style/TernaryParentheses
unsafe auto-correct detector aware of literals and constants. ([@drenmi][]) - ๐ #4228: Fix false positive in
Lint/AmbiguousBlockAssociation
cop. ([@smakagon][]) - ๐
#4234: Fix false positive in
Rails/RelativeDate
for lambdas and procs. ([@smakagon][])
- ๐
#4219: Add a link to style guide for