forked from hamstergem/hamster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
51 lines (40 loc) · 997 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
AllCops:
Excludes:
- bench/**/*
# We simply disagree with this rule
StringLiterals:
EnforcedStyle: double_quotes
# We simply disagree with this rule
SignalException:
Enabled: false
# We're going to have to work on this over time
Documentation:
Enabled: false
# We're a collection library, so we disagree with some of this
CollectionMethods:
PreferredMethods:
collect: map
collect!: map!
inject: reduce
detect: find
# We're a cross-implementation library, all the back to 1.8
HashSyntax:
Enabled: false
# We have to wait this out
ClassLength:
Enabled: false
# We have to wait this out
MethodLength:
Enabled: false
# We have to wait this out
LineLength:
Enabled: false
# This is a really dumb style checker, who the hell uses |a, e|?
SingleLineBlockParams:
Enabled: false
# Our usecase is pretty standard, not sure why we have to block this
CaseEquality:
Enabled: false
# We're not ready to deprecate the method yet
HashMethods:
Enabled: false