.rubocop_todo.yml in libhoney-1.21.0 vs .rubocop_todo.yml in libhoney-2.0.0
- old
+ new
@@ -1,36 +1,42 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2018-09-24 20:37:04 -0700 using RuboCop version 0.59.2.
+# on 2021-09-10 20:37:20 UTC using RuboCop version 1.12.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
-# Offense count: 3
-Lint/HandleExceptions:
+# Offense count: 2
+# Configuration parameters: AllowComments, AllowNil.
+Lint/SuppressedException:
Exclude:
- - 'lib/libhoney/client.rb'
- 'lib/libhoney/transmission.rb'
-# Offense count: 7
+# Offense count: 12
+# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
- Max: 40
+ Max: 38
-# Offense count: 1
-# Configuration parameters: CountComments, ExcludedMethods.
-# ExcludedMethods: refine
-Metrics/BlockLength:
- Max: 30
-
-# Offense count: 2
+# Offense count: 6
+# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 12
-# Offense count: 2
-# Configuration parameters: CountKeywordArgs.
+# Offense count: 1
+# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
Metrics/ParameterLists:
- Max: 12
+ Max: 10
-# Offense count: 1
+# Offense count: 4
+# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
- Max: 10
+ Max: 11
+
+# Offense count: 31
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: always, always_true, never
+# Disabled after setting target version to 2.3
+# Consider later.
+Style/FrozenStringLiteralComment:
+ Enabled: false