-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.rubocop.yml
More file actions
50 lines (41 loc) · 727 Bytes
/
.rubocop.yml
File metadata and controls
50 lines (41 loc) · 727 Bytes
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
require: rubocop
AllCops:
TargetRubyVersion: 2.4
NewCops: disable
Exclude:
- bin/*
- Guardfile
- vendor/**/*
Style/Documentation:
Enabled: false
Layout/LineLength:
Max: 120
Metrics/AbcSize:
Max: 20
Metrics/BlockLength:
ExcludedMethods: [
'describe',
'xdescribe',
'context',
'xcontext',
'it',
'xit',
'let',
'before',
'after',
'aggregate_failures'
]
Metrics/MethodLength:
Max: 15
Metrics/ClassLength:
Max: 150
Layout/HashAlignment:
EnforcedColonStyle: table
EnforcedHashRocketStyle: table
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/*'
- 'spec/**/*'
- 'spec/***/**/*'
- 'spec/****/***/**/*'
- 'spec/*****/****/***/*'