forked from activemerchant/active_merchant
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
34 lines (28 loc) · 821 Bytes
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
inherit_from: .rubocop_todo.yml
# Please keep AllCops, Bundler, Layout, Style, Metrics groups and then order cops
# alphabetically
#
# References:
# * https://github.com/bbatsov/ruby-style-guide
# * https://rubocop.readthedocs.io/
AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
Exclude:
- "generators/**/*"
- "lib/active_merchant/billing/gateways/paypal/**/*"
- "lib/active_merchant/billing/gateways/paypal_express.rb"
- "vendor/**/*"
ExtraDetails: false
TargetRubyVersion: 2.3
# Active Merchant gateways are not amenable to length restrictions
Metrics/ClassLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Layout/AlignParameters:
EnforcedStyle: with_fixed_indentation
Layout/DotPosition:
EnforcedStyle: trailing
Layout/CaseIndentation:
EnforcedStyle: end