forked from departurerb/departure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
69 lines (51 loc) · 1.04 KB
/
.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
60
61
62
63
64
65
66
67
68
69
---
inherit_from:
- .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.4
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'
- 'spec/lhm/adapter/**.rb'
Style/CommandLiteral:
Exclude:
- 'test_database.rb'
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false # We never ended up being forced to do this for Ruby 3.x
Style/MultilineBlockChain:
Exclude:
- 'spec/integration_spec.rb'
Layout/MultilineMethodCallIndentation:
Enabled: false
Style/SymbolArray:
Enabled: false
Style/UnneededPercentQ:
Exclude:
- 'departure.gemspec'