We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 401626c commit 8a0ca5aCopy full SHA for 8a0ca5a
1 file changed
.rubocop.yml
@@ -40,6 +40,12 @@ Metrics/BlockLength:
40
Metrics/ClassLength:
41
Enabled: false
42
43
+Metrics/CollectionLiteralLength:
44
+ Enabled: true
45
+ Exclude:
46
+ # We have thin event types that are automatically generated from the OpenAPI spec
47
+ - "lib/stripe/event_types.rb"
48
+
49
# There are several methods with many branches in api_requestor due to
50
# request logic.
51
Metrics/CyclomaticComplexity:
@@ -209,8 +215,6 @@ Lint/UselessRescue: # new in 1.43
209
215
Enabled: true
210
216
Lint/UselessRuby2Keywords: # new in 1.23
211
217
212
-Metrics/CollectionLiteralLength: # new in 1.47
213
- Enabled: true
214
218
Naming/BlockForwarding: # new in 1.24
219
220
Security/CompoundHash: # new in 1.28
0 commit comments