RuboCop: Update .rubocop_todo.yml

This commit is contained in:
Olle Jonsson 2021-08-16 17:31:51 +02:00 committed by Olle Jonsson
parent babfdeaf04
commit 4f6d2f830e

View File

@ -1,12 +1,14 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2021-08-16 12:37:47 UTC using RuboCop version 0.93.1.
# on 2021-08-16 15:31:43 UTC using RuboCop version 1.19.0.
# 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: 7
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Lint/ConstantDefinitionInBlock:
Exclude:
- 'spec/faraday/composite_read_io_spec.rb'
@ -14,6 +16,14 @@ Lint/ConstantDefinitionInBlock:
- 'spec/faraday/rack_builder_spec.rb'
- 'spec/faraday/request/instrumentation_spec.rb'
# Offense count: 11
# Configuration parameters: AllowComments, AllowEmptyLambdas.
Lint/EmptyBlock:
Exclude:
- 'spec/faraday/connection_spec.rb'
- 'spec/faraday/rack_builder_spec.rb'
- 'spec/faraday/response_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowedMethods.
@ -23,7 +33,7 @@ Lint/RedundantSafeNavigation:
- 'lib/faraday/connection.rb'
# Offense count: 16
# Configuration parameters: IgnoredMethods.
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 42
@ -38,7 +48,7 @@ Metrics/CyclomaticComplexity:
Max: 13
# Offense count: 27
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods.
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 33
@ -67,3 +77,21 @@ Performance/StringInclude:
Exclude:
- 'spec/support/fake_safe_buffer.rb'
# Offense count: 3
Style/DocumentDynamicEvalDefinition:
Exclude:
- 'lib/faraday/connection.rb'
- 'lib/faraday/options.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/NegatedIfElseCondition:
Exclude:
- 'lib/faraday/response.rb'
# Offense count: 2
# Cop supports --auto-correct.
Style/PerlBackrefs:
Exclude:
- 'lib/faraday/encoders/nested_params_encoder.rb'
- 'spec/support/fake_safe_buffer.rb'