.rubocop.yml in zeebe-client-0.8.0 vs .rubocop.yml in zeebe-client-0.9.0
- old
+ new
@@ -1,29 +1,28 @@
-inherit_from: .rubocop_todo.yml
-
+---
AllCops:
TargetRubyVersion: '2.3'
Exclude:
- 'examples/*'
- 'lib/zeebe/client/proto/*'
-Gemspec/OrderedDependencies:
- Enabled: false
-
-Layout/AlignHash:
- Enabled: false
-
Layout/EmptyLineAfterGuardClause:
Enabled: false
# allows nicer usage of private_class_method
Layout/EmptyLinesAroundArguments:
Enabled: false
-Layout/LeadingBlankLines:
+Layout/HashAlignment:
Enabled: false
+Layout/LeadingEmptyLines:
+ Enabled: false
+
+Layout/LineLength:
+ Max: 200
+
Layout/SpaceInsideHashLiteralBraces:
Enabled: false
Metrics/AbcSize:
Enabled: false
@@ -35,23 +34,20 @@
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
-Metrics/LineLength:
- Max: 200
-
Metrics/MethodLength:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
-Naming/UncommunicativeMethodParamName:
+Naming/MemoizedInstanceVariableName:
Enabled: false
-Naming/MemoizedInstanceVariableName:
+Naming/MethodParameterName:
Enabled: false
Style/ConditionalAssignment:
Enabled: false
@@ -64,9 +60,18 @@
Style/FrozenStringLiteralComment:
Enabled: false
Style/GuardClause:
Enabled: false
+
+Style/HashEachMethods:
+ Enabled: true
+
+Style/HashTransformKeys:
+ Enabled: true
+
+Style/HashTransformValues:
+ Enabled: true
Style/IdenticalConditionalBranches:
Enabled: false
Style/InverseMethods: