config/default.yml in rubocop-0.52.0 vs config/default.yml in rubocop-0.52.1
- old
+ new
@@ -488,11 +488,11 @@
Layout/SpaceBeforeBlockBraces:
EnforcedStyle: space
SupportedStyles:
- space
- no_space
- EnforcedStyleForEmptyBraces: no_space
+ EnforcedStyleForEmptyBraces: space
SupportedStylesForEmptyBraces:
- space
- no_space
Layout/SpaceBeforeFirstArg:
@@ -550,13 +550,10 @@
SupportedStyles:
- space
- no_space
Layout/ClassStructure:
- Description: 'Enforces a configured order of definitions within a class body.'
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-classes'
- Enabled: false
Categories:
module_inclusion:
- include
- prepend
- extend
@@ -928,16 +925,10 @@
EnforcedStyle: compact
SupportedStyles:
- compact
- expanded
-Style/ExtendSelf:
- EnforcedStyle: module_function
- SupportedStyles:
- - module_function
- - extend_self
-
# Checks use of for or each in multiline loops.
Style/For:
EnforcedStyle: each
SupportedStyles:
- for
@@ -1001,10 +992,9 @@
UseHashRocketsWithSymbolValues: false
# Do not suggest { a?: 1 } over { :a? => 1 } in ruby19 style
PreferHashRocketsForNonAlnumEndingSymbols: false
Style/InverseMethods:
- Enabled: true
# `InverseMethods` are methods that can be inverted by a not (`not` or `!`)
# The relationship of inverse methods only needs to be defined in one direction.
# Keys and values both need to be defined as symbols.
InverseMethods:
:any?: :none?