Bump rubocop from 0.87.1 to 0.88.0
Bumps rubocop from 0.87.1 to 0.88.0.
Release notes
Sourced from rubocop's releases.
RuboCop 0.88
New features
- #8279: Recognise require method passed as argument in
Lint/NonDeterministicRequireOrder
cop. (@biinari)- #7333: Add new
Style/RedundantFileExtensionInRequire
cop. (@fatkodima)- #8316: Support autocorrect for
Lint/DisjunctiveAssignmentInConstructor
cop. (@fatkodima)- #8242: Internal profiling available with
bin/rubocop-profile
and rake tasks. (@marcandre)- #8295: Add new
Style/ArrayCoercion
cop. (@fatkodima)- #8293: Add new
Lint/DuplicateElsifCondition
cop. (@fatkodima)- #7736: Add new
Style/CaseLikeIf
cop. (@fatkodima)- #4286: Add new
Style/HashAsLastArrayItem
cop. (@fatkodima)- #8247: Add new
Style/HashLikeCase
cop. (@fatkodima)- #8286: Internal method
expect_offense
allows abbreviated offense messages. (@marcandre)Bug fixes
- #8232: Fix a false positive for
Layout/EmptyLinesAroundAccessModifier
whenend
immediately after access modifier. (@koic)- #7777: Fix crash for
Layout/MultilineArrayBraceLayout
when comment is present after last element. (@shekhar-patil)- #7776: Fix crash for
Layout/MultilineMethodCallBraceLayout
when comment is present before closing braces. (@shekhar-patil)- #8282: Fix
Style/IfUnlessModifier
bad precedence detection. (@tejasbubane)- #8289: Fix
Style/AccessorGrouping
to not register offense for accessor with comment. (@tejasbubane)- #8310: Handle major version requirements in
Gemspec/RequiredRubyVersion
. (@eugeneius)- #8315: Fix crash for
Style/PercentLiteralDelimiters
when the source contains invalid characters. (@eugeneius)- #8239: Don't load
.rubocop.yml
files at all outside of the current project, unless they are personal configuration files and the project has no configuration. (@deivid-rodriguez)Changes
- #8021: Rewrite
Layout/SpaceAroundMethodCallOperator
cop to make it faster. (@fatkodima)- #8294: Add
of
toAllowedNames
ofMethodParameterName
cop. (@AlexWayfer)
Changelog
Sourced from rubocop's changelog.
0.88.0 (2020-07-13)
New features
- #8279: Recognise require method passed as argument in
Lint/NonDeterministicRequireOrder
cop. (@biinari)- #7333: Add new
Style/RedundantFileExtensionInRequire
cop. (@fatkodima)- #8316: Support autocorrect for
Lint/DisjunctiveAssignmentInConstructor
cop. (@fatkodima)- #8242: Internal profiling available with
bin/rubocop-profile
and rake tasks. (@marcandre)- #8295: Add new
Style/ArrayCoercion
cop. (@fatkodima)- #8293: Add new
Lint/DuplicateElsifCondition
cop. (@fatkodima)- #7736: Add new
Style/CaseLikeIf
cop. (@fatkodima)- #4286: Add new
Style/HashAsLastArrayItem
cop. (@fatkodima)- #8247: Add new
Style/HashLikeCase
cop. (@fatkodima)- #8286: Internal method
expect_offense
allows abbreviated offense messages. (@marcandre)Bug fixes
- #8232: Fix a false positive for
Layout/EmptyLinesAroundAccessModifier
whenend
immediately after access modifier. (@koic)- #7777: Fix crash for
Layout/MultilineArrayBraceLayout
when comment is present after last element. (@shekhar-patil)- #7776: Fix crash for
Layout/MultilineMethodCallBraceLayout
when comment is present before closing braces. (@shekhar-patil)- #8282: Fix
Style/IfUnlessModifier
bad precedence detection. (@tejasbubane)- #8289: Fix
Style/AccessorGrouping
to not register offense for accessor with comment. (@tejasbubane)- #8310: Handle major version requirements in
Gemspec/RequiredRubyVersion
. (@eugeneius)- #8315: Fix crash for
Style/PercentLiteralDelimiters
when the source contains invalid characters. (@eugeneius)- #8239: Don't load
.rubocop.yml
files at all outside of the current project, unless they are personal configuration files and the project has no configuration. (@deivid-rodriguez)Changes
- #8021: Rewrite
Layout/SpaceAroundMethodCallOperator
cop to make it faster. (@fatkodima)- #8294: Add
of
toAllowedNames
ofMethodParameterName
cop. (@AlexWayfer)
Commits
-
acddd73
Cut 0.88 -
535c544
Add a changelog entry -
d1822bc
Ignore configuration files outside of the project -
e1a2da0
Only look up to the project's root for exclusions -
0563861
Fixtraverse_files_upwards
to make searching up to the root possible -
18e318f
Merge pull request #8279 from Fatsoma/feature/require_order_block_pass -
fe066fc
Merge branch 'master' into feature/require_order_block_pass -
0c786c0
Fix line number for empty file offense -
930b65f
Fix expect_offense when annotations missing -
34a2dbd
Merge pull request #8316 from fatkodima/autocorrect-to-disjunctive_assignment... - Additional commits viewable in compare view