forked from getappmap/appmap-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
52 lines (37 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
AllCops:
NewCops: enable
# The gem is automatically pushed by CI
Gemspec/RequireMFA:
Enabled: false
Layout/ArrayAlignment:
EnforcedStyle: with_fixed_indentation
Layout/CaseIndentation:
EnforcedStyle: end
Layout/FirstArgumentIndentation:
EnforcedStyle: consistent
Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent
Layout/SpaceInsideArrayLiteralBrackets:
Enabled: false
# We have squiggly heredocs
Layout/HeredocIndentation:
Enabled: false
Layout/LineLength:
Max: 120
Metrics/BlockLength:
AllowedMethods:
- describe
- it
- context
Style/MultilineBlockChain:
Enabled: false
Style/NumericPredicate:
Enabled: false
Style/AndOr:
Enabled: false
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true