default.yml in rubocopital-0.5.2 vs default.yml in rubocopital-0.5.3
- old
+ new
@@ -1,5 +1,7 @@
+inherit_from: .rubocop-performance.yml
+
AllCops:
TargetRubyVersion: 2.3
Exclude:
- db/migrate/*
- db/seeds/*
@@ -106,10 +108,17 @@
Layout/EndAlignment:
# YC Compliant
EnforcedStyleAlignWith: variable
+Layout/HeredocArgumentClosingParenthesis:
+ Enabled: true
+
+Layout/IndentFirstParameter:
+ Enabled: true
+ EnforcedStyle: consistent
+
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Layout/MultilineOperationIndentation:
# YC Compliant
@@ -145,16 +154,10 @@
Metrics/ModuleLength:
# YC Compliant
Enabled: false
-Performance/ChainArrayAllocation:
- Enabled: true
-
-Performance/OpenStruct:
- Enabled: true
-
Documentation:
# YC Compliant
Enabled: false
Rails:
@@ -212,18 +215,31 @@
Enabled: false
Style/MultilineMethodSignature:
Enabled: true
+Style/NegatedUnless:
+ Enabled: true
+ EnforcedStyle: both
+
Style/StringLiterals:
# YC Compliant
Enabled: false
Style/StringLiteralsInInterpolation:
# YC Compliant
Enabled: false
Lint/DisjunctiveAssignmentInConstructor:
+ Enabled: true
+
+Lint/HeredocMethodCallPosition:
+ Enabled: true
+
+Lint/SafeNavigationWithEmpty:
+ Enabled: true
+
+Lint/ToJSON:
Enabled: true
Rails/UnknownEnv:
Environments:
- development