.rubocop.yml in rake-commander-0.1.4 vs .rubocop.yml in rake-commander-0.2.0
- old
+ new
@@ -20,18 +20,20 @@
Metrics/ModuleLength:
Max: 200
Metrics/AbcSize:
Max: 50
Metrics/CyclomaticComplexity:
- Max: 15
+ Max: 10
Metrics/PerceivedComplexity:
- Max: 15
+ Max: 10
ParameterLists:
Max: 5
CountKeywordArgs: false
+Style/Alias:
+ EnforcedStyle: prefer_alias_method
Style/StringLiterals:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/CommentedKeyword:
@@ -49,23 +51,25 @@
Style/ClassAndModuleChildren:
Enabled: false
Style/OptionalBooleanParameter:
Enabled: false
-Layout/SpaceInsideHashLiteralBraces:
- Enabled: false
-Layout/SpaceInsideBlockBraces:
- Enabled: false
-Layout/SpaceAroundOperators:
- Enabled: false
+Layout/HashAlignment:
+ EnforcedColonStyle: table
Layout/ExtraSpacing:
AllowForAlignment: true
Layout/AccessModifierIndentation:
EnforcedStyle: indent
Layout/DotPosition:
EnforcedStyle: trailing
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
+Layout/SpaceInsideHashLiteralBraces:
+ Enabled: false
+Layout/SpaceInsideBlockBraces:
+ Enabled: false
+Layout/SpaceAroundOperators:
+ Enabled: false
Layout/FirstHashElementIndentation:
Enabled: false
Layout/EmptyLineAfterGuardClause:
Enabled: false
Layout/LeadingCommentSpace: