.rubocop.yml in machinist_redux-3.0.3 vs .rubocop.yml in machinist_redux-3.0.4
- old
+ new
@@ -4,49 +4,46 @@
AllCops:
TargetRubyVersion: 2.2
DisplayCopNames: true
Exclude:
- - 'tmp/**/*'
+ - gemfiles/**/*
+ - tmp/**/*
-Style/MixinGrouping:
- Exclude:
- - 'spec/**/*.rb'
+Layout/DotPosition:
+ EnforcedStyle: leading
+ Enabled: true
+Layout/ExtraSpacing:
+ Enabled: true
+
+Lint/LiteralInInterpolation:
+ AutoCorrect: true
+
Metrics/BlockLength:
CountComments: false # count full line comments?
Exclude:
- '**/*_spec.rb'
-StringLiterals:
- EnforcedStyle: single_quotes
+Metrics/LineLength:
+ Max: 120
Enabled: true
-DotPosition:
- EnforcedStyle: leading
+Naming/FileName:
Enabled: true
-ClassAndModuleChildren:
+Style/ClassAndModuleChildren:
EnforcedStyle: nested
Enabled: true
-Documentation:
+Style/Documentation:
Enabled: false
-FileName:
- Enabled: true
+Style/MixinGrouping:
+ Exclude:
+ - spec/**/*.rb
-LineLength:
- Max: 120
- Enabled: true
-
-Style/ExtraSpacing:
- Enabled: true
-
-Lint/LiteralInInterpolation:
- AutoCorrect: true
-
Style/ModuleFunction:
EnforcedStyle: extend_self # Allows us to have private methods too
Style/PercentLiteralDelimiters:
# Hound and CodeClimate are currently using an old version of Rubocop with
@@ -56,5 +53,9 @@
'%i': '[]'
'%I': '[]'
'%r': '{}'
'%w': '[]'
'%W': '[]'
+
+Style/StringLiterals:
+ EnforcedStyle: single_quotes
+ Enabled: true