.rubocop.yml in meshtastic-0.0.10 vs .rubocop.yml in meshtastic-0.0.11
- old
+ new
@@ -1,10 +1,35 @@
-inherit_from: .rubocop_todo.yml
+AllCops:
+ UseCache: false
+ NewCops: enable
+Layout/LineLength:
+ Max: 293
+Lint/UselessRescue:
+ Enabled: false
+Metrics/AbcSize:
+ Max: 537.6
+Metrics/BlockLength:
+ Max: 138
+Metrics/BlockNesting:
+ Max: 4
+Metrics/ClassLength:
+ Max: 134
+Metrics/CyclomaticComplexity:
+ Max: 103
+Metrics/MethodLength:
+ Max: 485
+Metrics/ModuleLength:
+ Max: 495
+Metrics/PerceivedComplexity:
+ Max: 101
+Style/HashEachMethods:
+ Enabled: true
+Style/HashSyntax:
+ EnforcedShorthandSyntax: never
+Style/HashTransformKeys:
+ Enabled: true
+Style/HashTransformValues:
+ Enabled: true
+Style/RedundantLineContinuation:
+ Enabled: false
-AllCops:
- TargetRubyVersion: 3.0
-
-Style/StringLiterals:
- EnforcedStyle: double_quotes
-
-Style/StringLiteralsInInterpolation:
- EnforcedStyle: double_quotes
+inherit_from: .rubocop_todo.yml