.rubocop_todo.yml in newrelic_rpm-9.0.0 vs .rubocop_todo.yml in newrelic_rpm-9.1.0
- old
+ new
@@ -7,14 +7,15 @@
# versions of RuboCop, may require this file to be generated again.
# Offense count: 422
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
- Max: 54
+ Max: 40
Exclude:
- - test/**/*
- infinite_tracing/test/**/*
+ - lib/new_relic/cli/commands/deployments.rb
+ - test/**/*
# This cop supports safe autocorrection (--autocorrect).
Minitest/AssertInDelta:
Enabled: true
@@ -34,10 +35,11 @@
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Minitest/EmptyLineBeforeAssertionMethods:
Exclude:
- 'test/new_relic/agent_test.rb'
+ - 'test/new_relic/cli/commands/deployments_test.rb'
# Offense count: 269
Minitest/MultipleAssertions:
Max: 28
@@ -55,46 +57,5 @@
Enabled: false
Minitest/RefuteRespondTo:
Exclude:
- 'test/new_relic/cli/commands/deployments_test.rb'
-
-Minitest/EmptyLineBeforeAssertionMethods:
- Exclude:
- - 'test/new_relic/agent_test.rb'
- - 'test/new_relic/cli/commands/deployments_test.rb'
-
-# Offense count: 23
-# This cop supports safe autocorrection (--autocorrect).
-Performance/RegexpMatch:
- Enabled: false
-
-# Offense count: 1
-# This cop supports unsafe autocorrection (--autocorrect-all).
-# Configuration parameters: OnlySumOrWithInitialValue.
-Performance/Sum:
- Exclude:
- - 'lib/new_relic/agent/system_info.rb'
-
-# Offense count: 72
-# This cop supports unsafe autocorrection (--autocorrect-all).
-Performance/UnfreezeString:
- Enabled: false
-
-# Offense count: 21
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowedVars.
-Style/FetchEnvVar:
- Enabled: false
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-Style/RedundantStringEscape:
- Exclude:
- - 'test/new_relic/agent/logging_test.rb'
-
-# Offense count: 115
-# This cop supports unsafe autocorrection (--autocorrect-all).
-# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
-# AllowedMethods: present?, blank?, presence, try, try!
-Style/SafeNavigation:
- Enabled: false