forked from departurerb/departure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
60 lines (44 loc) · 853 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
52
53
54
55
56
57
58
59
---
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Max: 20
Exclude:
- 'spec/*'
- 'spec/**/*'
Metrics/BlockNesting:
Max: 4
Metrics/ClassLength:
Max: 250
Metrics/LineLength:
Max: 120
Exclude:
- 'departure.gemspec'
- 'test_database.rb'
Metrics/MethodLength:
Max: 30
Metrics/ModuleLength:
Max: 250
Metrics/ParameterLists:
Max: 5
Performance/Casecmp:
Enabled: false
Style/BracesAroundHashParameters:
Exclude:
- 'spec/fixtures/migrate/**.rb'
- 'spec/integration/**.rb'
Style/CommandLiteral:
Exclude:
- 'test_database.rb'
Style/Documentation:
Enabled: false
Style/MultilineBlockChain:
Exclude:
- 'spec/integration_spec.rb'
Layout/MultilineMethodCallIndentation:
Enabled: false
Style/SymbolArray:
Enabled: false
Style/UnneededPercentQ:
Exclude:
- 'departure.gemspec'