mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-04 00:02:03 -04:00
61 lines
1.8 KiB
YAML
61 lines
1.8 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config`
|
|
# on 2022-08-08 14:26:32 UTC using RuboCop version 1.33.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: 6
|
|
# Configuration parameters: AllowedMethods.
|
|
# AllowedMethods: enums
|
|
Lint/ConstantDefinitionInBlock:
|
|
Exclude:
|
|
- '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: 12
|
|
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
|
|
Metrics/AbcSize:
|
|
Max: 42
|
|
|
|
# Offense count: 4
|
|
# Configuration parameters: CountComments, CountAsOne.
|
|
Metrics/ClassLength:
|
|
Max: 230
|
|
|
|
# Offense count: 9
|
|
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
|
|
Metrics/CyclomaticComplexity:
|
|
Max: 13
|
|
|
|
# Offense count: 26
|
|
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
|
|
Metrics/MethodLength:
|
|
Max: 33
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
|
|
Metrics/ParameterLists:
|
|
Max: 6
|
|
|
|
# Offense count: 6
|
|
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
|
|
Metrics/PerceivedComplexity:
|
|
Max: 14
|
|
|
|
# Offense count: 3
|
|
Style/DocumentDynamicEvalDefinition:
|
|
Exclude:
|
|
- 'lib/faraday/connection.rb'
|
|
- 'lib/faraday/options.rb'
|