mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-04 00:02:03 -04:00
fix Lint/UnneededRequireStatement offenses
This commit is contained in:
parent
cc703af68d
commit
190467254e
@ -16,13 +16,6 @@ Lint/ReturnInVoidContext:
|
||||
Exclude:
|
||||
- 'lib/faraday/options/env.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
Lint/UnneededRequireStatement:
|
||||
Exclude:
|
||||
- 'lib/faraday.rb'
|
||||
- 'lib/faraday/utils.rb'
|
||||
|
||||
# Offense count: 41
|
||||
Metrics/AbcSize:
|
||||
Max: 86
|
||||
|
@ -1,6 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'thread'
|
||||
require 'cgi'
|
||||
require 'set'
|
||||
require 'forwardable'
|
||||
|
@ -1,7 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'thread'
|
||||
|
||||
require 'faraday/utils/headers'
|
||||
require 'faraday/utils/params_hash'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user