.rubocop.yml in grpc_kit-0.1.0 vs .rubocop.yml in grpc_kit-0.1.1
- old
+ new
@@ -33,11 +33,11 @@
EnforcedStyleForMultiline: comma
Style/SafeNavigation:
Enabled: false
-Style/PredicateName:
+Naming/PredicateName:
NamePrefixBlacklist:
- "is_"
- "have_"
NamePrefix:
- "is_"
@@ -47,24 +47,40 @@
EnforcedStyle: only_raise
Style/SingleLineBlockParams:
Enabled: false
-Lint/UnderscorePrefixedVariableName:
+Style/NumericLiterals:
Enabled: false
-##################### Metrics ##################################
+Style/GuardClause:
+ Enabled: false
+Style/NumericPredicate:
+ Enabled: false
+
+Metrics/ParameterLists:
+ CountKeywordArgs: false
+
+Lint/UnderscorePrefixedVariableName:
+ Enabled: false
+
Metrics/AbcSize:
- Max: 30
+ Max: 50
Metrics/CyclomaticComplexity:
Max: 10
Metrics/LineLength:
Max: 160
Metrics/MethodLength:
- Max: 20
+ Max: 40
Metrics/PerceivedComplexity:
- Max: 8
+ Max: 20
+
+Metrics/ClassLength:
+ Max: 200
+
+Metrics/BlockLength:
+ Max: 40