-
Notifications
You must be signed in to change notification settings - Fork 113
/
.rubocop.yml
74 lines (52 loc) · 1.36 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
70
71
72
73
74
inherit_gem:
rubocop-shopify: rubocop.yml
require:
- rubocop-performance
- rubocop-sorbet
AllCops:
NewCops: disable
UseCache: true
SuggestExtensions: false
CacheRootDirectory: tmp
Exclude:
- 'test/fixtures/**/*'
Sorbet/ConstantsFromStrings:
Enabled: true
Sorbet/ForbidIncludeConstLiteral:
Enabled: true
Sorbet/SignatureBuildOrder:
Enabled: true
Sorbet/KeywordArgumentOrdering:
Enabled: true
Sorbet/ValidSigil:
Enabled: true
Performance/AncestorsInclude: # new in 1.7
Enabled: true
Performance/BigDecimalWithNumericArgument: # new in 1.7
Enabled: true
Performance/BlockGivenWithExplicitBlock: # new in 1.9
Enabled: true
Performance/CollectionLiteralInLoop: # new in 1.8
Enabled: true
Performance/ConstantRegexp: # new in 1.9
Enabled: true
Performance/MethodObjectAsBlock: # new in 1.9
Enabled: true
Performance/RedundantEqualityComparisonBlock: # new in 1.10
Enabled: true
Performance/RedundantSortBlock: # new in 1.7
Enabled: true
Performance/RedundantSplitRegexpArgument: # new in 1.10
Enabled: true
Performance/RedundantStringChars: # new in 1.7
Enabled: true
Performance/ReverseFirst: # new in 1.7
Enabled: true
Performance/SortReverse: # new in 1.7
Enabled: true
Performance/Squeeze: # new in 1.7
Enabled: true
Performance/StringInclude: # new in 1.7
Enabled: true
Performance/Sum: # new in 1.8
Enabled: true