-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
53 lines (39 loc) · 1.11 KB
/
.rubocop.yml
File metadata and controls
53 lines (39 loc) · 1.11 KB
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
Layout/AlignHash:
EnforcedLastArgumentHashStyle: ignore_implicit
Layout/AlignParameters:
Enabled: false # TODO:
# EnforcedStyle: aligned_if_parenthesized
Layout/IndentHash:
EnforcedStyle: consistent
Layout/DotPosition:
EnforcedStyle: trailing
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Layout/MultilineOperationIndentation:
EnforcedStyle: indented
Layout/SpaceInLambdaLiteral:
EnforcedStyle: require_space
Metrics/MethodLength:
Max: 20
Style/ConditionalAssignment:
EnforcedStyle: assign_inside_condition
IncludeTernaryExpressions: false
# FIXME: this should be reconsidered
Style/FrozenStringLiteralComment:
Enabled: false
Style/FormatString:
EnforcedStyle: percent
Style/HashSyntax:
EnforcedStyle: ruby19_no_mixed_keys
UseHashRocketsWithSymbolValues: true
PreferHashRocketsForNonAlnumEndingSymbols: true
Style/NumericPredicate:
EnforcedStyle: comparison
Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%w': "()"
'%W': "()"
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/TernaryParentheses:
EnforcedStyle: require_parentheses_when_complex