mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Only ignore line-length on resources
This commit is contained in:
parent
64571bee75
commit
d998c3342e
@ -16,7 +16,7 @@ Layout/IndentHash:
|
|||||||
Metrics/LineLength:
|
Metrics/LineLength:
|
||||||
Exclude:
|
Exclude:
|
||||||
- "test/**/*.rb"
|
- "test/**/*.rb"
|
||||||
- "lib/stripe/**/*.rb"
|
- "lib/stripe/resources/**/*.rb"
|
||||||
|
|
||||||
Metrics/MethodLength:
|
Metrics/MethodLength:
|
||||||
# There's ~2 long methods in `StripeClient`. If we want to truncate those a
|
# There's ~2 long methods in `StripeClient`. If we want to truncate those a
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
# rubocop:disable Metrics/LineLength
|
||||||
|
|
||||||
module Stripe
|
module Stripe
|
||||||
module ObjectTypes
|
module ObjectTypes
|
||||||
def self.object_names_to_classes # rubocop:disable Metrics/MethodLength
|
def self.object_names_to_classes # rubocop:disable Metrics/MethodLength
|
||||||
@ -88,3 +90,5 @@ module Stripe
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# rubocop:enable Metrics/LineLength
|
||||||
|
Loading…
x
Reference in New Issue
Block a user