config/enabled.yml in rubocop-0.58.2 vs config/enabled.yml in rubocop-0.59.0
- old
+ new
@@ -125,10 +125,14 @@
Layout/EmptyComment:
Description: 'Checks empty comment.'
Enabled: true
+Layout/EmptyLineAfterGuardClause:
+ Description: 'Add empty line after guard clause.'
+ Enabled: true
+
Layout/EmptyLineAfterMagicComment:
Description: 'Add an empty line after magic comments to separate them from code.'
StyleGuide: '#separate-magic-comments-from-code'
Enabled: true
@@ -919,16 +923,10 @@
Performance/Caller:
Description: >-
Use `caller(n..n)` instead of `caller`.
Enabled: true
-Performance/CaseWhenSplat:
- Description: >-
- Place `when` conditions that use splat at the end
- of the list of `when` branches.
- Enabled: true
-
Performance/Casecmp:
Description: >-
Use `casecmp` rather than `downcase ==`, `upcase ==`, `== downcase`, or `== upcase`..
Reference: 'https://github.com/JuanitoFatas/fast-ruby#stringcasecmp-vs-stringdowncase---code'
Enabled: true
@@ -1455,14 +1453,9 @@
Style/ConditionalAssignment:
Description: >-
Use the return value of `if` and `case` statements for
assignment to a variable and variable comparison instead
of assigning that variable inside of each branch.
- Enabled: true
-
-Style/DateTime:
- Description: 'Use Date or Time over DateTime.'
- StyleGuide: '#date--time'
Enabled: true
Style/DefWithParentheses:
Description: 'Use def with parentheses when there are arguments.'
StyleGuide: '#method-parens'