-
Notifications
You must be signed in to change notification settings - Fork 50
/
.rubocop.yml
51 lines (38 loc) · 1.03 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
inherit_gem:
rubocop-shopify: rubocop-cli.yml
inherit_from:
- .rubocop.sorbet.yml
require:
- rubocop-sorbet
AllCops:
Exclude:
- vendor/**/*
NewCops: disable
Style/FrozenStringLiteralComment:
Enabled: false
# This doesn't understand that <<~ doesn't exist in 2.0
Layout/HeredocIndentation:
Enabled: false
# This doesn't take into account retrying from an exception
Lint/SuppressedException:
Enabled: false
# allow String.new to create mutable strings
Style/EmptyLiteral:
Enabled: false
# allow the use of globals which makes sense in a CLI app like this
Style/GlobalVars:
Enabled: false
# allow using %r{} for regexes
Style/RegexpLiteral:
Enabled: false
# allow readable Dev::Util.begin formatting
Style/MultilineBlockChain:
Enabled: false
# we prefer rescue to align with the beginning of the line containing begin, not begin itself
Layout/RescueEnsureAlignment:
Enabled: false
Style/StringLiterals:
EnforcedStyle: single_quotes
# We heavily manage output on purpose
Style/GlobalStdStream:
Enabled: false