forked from manuca/spree_mercado_pago
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.rubocop.yml
51 lines (38 loc) · 778 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
require: rubocop-rspec
AllCops:
Exclude:
- 'db/**/*'
- 'bin/*'
TargetRubyVersion: 2.3
TargetRailsVersion: 4.2
Metrics/ModuleLength:
Exclude:
- "**/*_spec.rb"
- "spec/factories/*"
Metrics/BlockLength:
Exclude:
- "**/*_spec.rb"
- "spec/factories/*"
- 'config/routes.rb'
- 'config/initializers/*'
Metrics/LineLength:
Description: 'Limit lines to 130 characters.'
Max: 130
Metrics/MethodLength:
Max: 30
Rails:
Enabled: true
Rails/HttpPositionalArguments:
Enabled: false
RSpec/NestedGroups:
Max: 4
RSpec/MessageSpies:
Enabled: false
StringLiterals:
EnforcedStyle: single_quotes
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Layout/DotPosition:
EnforcedStyle: leading