mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Exclude event types from rubocop rule (#1657)
This commit is contained in:
parent
401626c2bf
commit
8a0ca5aae1
@ -40,6 +40,12 @@ Metrics/BlockLength:
|
||||
Metrics/ClassLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/CollectionLiteralLength:
|
||||
Enabled: true
|
||||
Exclude:
|
||||
# We have thin event types that are automatically generated from the OpenAPI spec
|
||||
- "lib/stripe/event_types.rb"
|
||||
|
||||
# There are several methods with many branches in api_requestor due to
|
||||
# request logic.
|
||||
Metrics/CyclomaticComplexity:
|
||||
@ -209,8 +215,6 @@ Lint/UselessRescue: # new in 1.43
|
||||
Enabled: true
|
||||
Lint/UselessRuby2Keywords: # new in 1.23
|
||||
Enabled: true
|
||||
Metrics/CollectionLiteralLength: # new in 1.47
|
||||
Enabled: true
|
||||
Naming/BlockForwarding: # new in 1.24
|
||||
Enabled: true
|
||||
Security/CompoundHash: # new in 1.28
|
||||
|
Loading…
x
Reference in New Issue
Block a user