mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-05 00:05:35 -04:00
58 lines
1.6 KiB
YAML
58 lines
1.6 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config`
|
|
# 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'
|
|
- 'spec/faraday/options/options_spec.rb'
|
|
- '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: 16
|
|
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
|
|
Metrics/AbcSize:
|
|
Max: 42
|
|
|
|
# Offense count: 3
|
|
# Configuration parameters: CountComments, CountAsOne.
|
|
Metrics/ClassLength:
|
|
Max: 230
|
|
|
|
# Offense count: 12
|
|
# Configuration parameters: IgnoredMethods.
|
|
Metrics/CyclomaticComplexity:
|
|
Max: 13
|
|
|
|
# Offense count: 27
|
|
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
|
|
Metrics/MethodLength:
|
|
Max: 33
|
|
|
|
# Offense count: 8
|
|
# Configuration parameters: IgnoredMethods.
|
|
Metrics/PerceivedComplexity:
|
|
Max: 14
|
|
|
|
# Offense count: 3
|
|
Style/DocumentDynamicEvalDefinition:
|
|
Exclude:
|
|
- 'lib/faraday/connection.rb'
|
|
- 'lib/faraday/options.rb'
|
|
|