.rubocop.yml in multi_range-0.0.4 vs .rubocop.yml in multi_range-1.0.0
- old
+ new
@@ -74,14 +74,10 @@
Layout/EndAlignment:
Description: 'Align ends correctly.'
Enabled: true
-Lint/EndInMethod:
- Description: 'END blocks should not be placed inside method definitions.'
- Enabled: true
-
Lint/EnsureReturn:
Description: 'Do not use return in an ensure block.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-return-ensure'
Enabled: true
@@ -579,13 +575,16 @@
Enabled: true
Style/FormatString:
Description: 'Enforce the use of Kernel#sprintf, Kernel#format or String#%.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#sprintf'
- EnforcedStyle: sprintf
+ EnforcedStyle: percent
Enabled: true
+Style/FormatStringToken:
+ Enabled: false
+
Style/GlobalVars:
Description: 'Do not introduce global variables.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#instance-vars'
Reference: 'http://www.zenspider.com/Languages/Ruby/QuickRef.html'
Enabled: true
@@ -807,10 +806,10 @@
Enabled: true
Style/PerlBackrefs:
Description: 'Avoid Perl-style regex back references.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers'
- Enabled: true
+ Enabled: false
Naming/PredicateName:
Description: 'Check the names of predicate methods.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark'
Enabled: true