.rubocop.yml in danger-reek-0.2.1 vs .rubocop.yml in danger-reek-0.3.0
- old
+ new
@@ -4,24 +4,20 @@
# kind_of? is a good way to check a type
Style/ClassCheck:
EnforcedStyle: kind_of?
-# It's better to be more explicit about the type
-Style/BracesAroundHashParameters:
- Enabled: false
-
# specs sometimes have useless assignments, which is fine
Lint/UselessAssignment:
Exclude:
- '**/spec/**/*'
# We could potentially enable the 2 below:
-Layout/IndentHash:
+Layout/FirstHashElementIndentation:
Enabled: false
-Layout/AlignHash:
+Layout/HashAlignment:
Enabled: false
# HoundCI doesn't like this rule
Layout/DotPosition:
Enabled: false
@@ -67,11 +63,11 @@
Metrics/CyclomaticComplexity:
Max: 17
# Configuration parameters: AllowURI, URISchemes.
-Metrics/LineLength:
+Layout/LineLength:
Max: 370
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 10
@@ -121,10 +117,10 @@
Enabled: false
Naming/FileName:
Enabled: false
-Layout/IndentHeredoc:
+Layout/HeredocIndentation:
Enabled: false
Style/SpecialGlobalVars:
Enabled: false