Skip to content

Commit

Permalink
chore: Disable Metrics/BlockLength in spec/ (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle committed Feb 27, 2019
1 parent 7c823b0 commit 52833e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Expand Up @@ -9,3 +9,7 @@ Naming/MethodName:
Exclude:
- test/adapters/integration.rb
- test/adapters/rack_test.rb

Metrics/BlockLength:
Exclude:
- spec/**/*.rb
15 changes: 4 additions & 11 deletions .rubocop_todo.yml
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-02-26 09:45:16 +0000 using RuboCop version 0.65.0.
# on 2019-02-26 21:39:01 +0100 using RuboCop version 0.65.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
Expand Down Expand Up @@ -143,13 +143,6 @@ Layout/SpaceInsidePercentLiteralDelimiters:
Exclude:
- 'lib/faraday/adapter/rack.rb'

# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: AllowInHeredoc.
Layout/TrailingWhitespace:
Exclude:
- 'lib/faraday/adapter/test.rb'

# Offense count: 1
Lint/HandleExceptions:
Exclude:
Expand Down Expand Up @@ -210,11 +203,11 @@ Lint/Void:
Metrics/AbcSize:
Max: 86

# Offense count: 42
# Offense count: 3
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
Max: 473
Max: 35

# Offense count: 5
# Configuration parameters: CountComments.
Expand Down Expand Up @@ -920,7 +913,7 @@ Style/YodaCondition:
- 'script/proxy-server'
- 'test/helper.rb'

# Offense count: 273
# Offense count: 272
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Expand Down

0 comments on commit 52833e2

Please sign in to comment.