.rubocop.yml in inky-rb-1.3.7.2 vs .rubocop.yml in inky-rb-1.3.7.3
- old
+ new
@@ -1,5 +1,8 @@
+AllCops:
+ DisplayCopNames: true
+ TargetRubyVersion: 2.2
# Relaxed.Ruby.Style
Style/Alias:
Enabled: false
StyleGuide: http://relaxed.ruby.style/#stylealias
@@ -14,11 +17,11 @@
Style/Documentation:
Enabled: false
StyleGuide: http://relaxed.ruby.style/#styledocumentation
-Style/DotPosition:
+Layout/DotPosition:
Enabled: false
StyleGuide: http://relaxed.ruby.style/#styledotposition
Style/DoubleNegation:
Enabled: false
@@ -82,15 +85,15 @@
Style/SingleLineMethods:
Enabled: false
StyleGuide: http://relaxed.ruby.style/#stylesinglelinemethods
-Style/SpaceBeforeBlockBraces:
+Layout/SpaceBeforeBlockBraces:
Enabled: false
StyleGuide: http://relaxed.ruby.style/#stylespacebeforeblockbraces
-Style/SpaceInsideParens:
+Layout/SpaceInsideParens:
Enabled: false
StyleGuide: http://relaxed.ruby.style/#stylespaceinsideparens
Style/SpecialGlobalVars:
Enabled: false
@@ -98,14 +101,10 @@
Style/StringLiterals:
Enabled: false
StyleGuide: http://relaxed.ruby.style/#stylestringliterals
-Style/TrailingCommaInLiteral:
- Enabled: false
- StyleGuide: http://relaxed.ruby.style/#styletrailingcommainliteral
-
Style/WhileUntilModifier:
Enabled: false
StyleGuide: http://relaxed.ruby.style/#stylewhileuntilmodifier
Lint/AmbiguousRegexpLiteral:
@@ -146,5 +145,13 @@
# inky-rb gem specifics
Lint/HandleExceptions:
Exclude:
- 'Rakefile'
- 'lib/inky.rb'
+
+Metrics/BlockLength:
+ Exclude:
+ - 'Rakefile'
+ - 'spec/**/*.rb'
+
+Style/Encoding:
+ Enabled: false