forked from markdownlint/markdownlint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
51 lines (38 loc) · 880 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
AllCops:
TargetRubyVersion: 2.7
NewCops: enable
Exclude:
- 'omnibus/bin/*'
Layout/LineLength:
Max: 80
Metrics:
Enabled: false
Style/FrozenStringLiteralComment:
EnforcedStyle: never
Style/LineEndConcatenation:
Enabled: false
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
Style/HashSyntax:
EnforcedStyle: hash_rockets
Style/PercentLiteralDelimiters:
PreferredDelimiters:
default: '{}'
'%i': '{}'
'%I': '{}'
'%w': '{}'
'%W': '{}'
'%r': '{}'
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/OptionalBooleanParameter:
Enabled: false
# once we have a customizable line-end concat,
# then this will be be useful
Style/StringConcatenation:
Enabled: false
# we do this a lot. it's very rubyish
Style/MultilineBlockChain:
Enabled: false
Style/NumericPredicate:
Enabled: false