config/enabled.yml in rubocop-0.27.0 vs config/enabled.yml in rubocop-0.27.1
- old
+ new
@@ -269,11 +269,11 @@
single-line body.
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier'
Enabled: true
Style/IfWithSemicolon:
- Description: 'Never use if x; .... Use the ternary operator instead.'
+ Description: 'Do not use if x; .... Use the ternary operator instead.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs'
Enabled: true
Style/IndentationConsistency:
Description: 'Keep indentation straight.'
@@ -350,11 +350,11 @@
Style/MultilineBlockLayout:
Description: 'Ensures newlines after multiline block do statements.'
Enabled: true
Style/MultilineIfThen:
- Description: 'Never use then for multi-line if/unless.'
+ Description: 'Do not use then for multi-line if/unless.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-then'
Enabled: true
Style/MultilineOperationIndentation:
Description: >-
@@ -542,11 +542,11 @@
Description: 'Use spaces after if/elsif/unless/while/until/case/when.'
Enabled: true
Style/SpaceAfterMethodName:
Description: >-
- Never put a space between a method name and the opening
+ Do not put a space between a method name and the opening
parenthesis in a method definition.
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
Enabled: true
Style/SpaceAfterNot:
@@ -668,11 +668,11 @@
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#attr_family'
Enabled: true
Style/UnlessElse:
Description: >-
- Never use unless with else. Rewrite these with the positive
+ Do not use unless with else. Rewrite these with the positive
case first.
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-else-with-unless'
Enabled: true
Style/UnneededCapitalW:
@@ -830,10 +830,10 @@
Lint/EndInMethod:
Description: 'END blocks should not be placed inside method definitions.'
Enabled: true
Lint/EnsureReturn:
- Description: 'Never use return in an ensure block.'
+ Description: 'Do not use return in an ensure block.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-return-ensure'
Enabled: true
Lint/Eval:
Description: 'The use of eval represents a serious security risk.'