mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-03 00:01:21 -04:00
33 lines
677 B
YAML
33 lines
677 B
YAML
inherit_from: .rubocop_todo.yml
|
|
|
|
AllCops:
|
|
DisplayCopNames: true
|
|
TargetRubyVersion: 2.1
|
|
|
|
Layout/CaseIndentation:
|
|
EnforcedStyle: end
|
|
|
|
Layout/IndentArray:
|
|
EnforcedStyle: consistent
|
|
|
|
Layout/IndentHash:
|
|
EnforcedStyle: consistent
|
|
|
|
Metrics/MethodLength:
|
|
# There's ~2 long methods in `StripeClient`. If we want to truncate those a
|
|
# little, we could move this to be closer to ~30 (but the default of 10 is
|
|
# probably too short).
|
|
Max: 50
|
|
|
|
Metrics/ModuleLength:
|
|
Enabled: false
|
|
|
|
Style/FrozenStringLiteralComment:
|
|
EnforcedStyle: always
|
|
|
|
Style/StringLiterals:
|
|
EnforcedStyle: double_quotes
|
|
|
|
Style/TrailingCommaInLiteral:
|
|
EnforcedStyleForMultiline: consistent_comma
|