-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
46 lines (32 loc) · 923 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
# For possible values, see: https://github.com/bbatsov/rubocop/blob/master/config/default.yml
AllCops:
TargetRubyVersion: 2.3
DisplayStyleGuide: false
Rails:
Enabled: true
Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/AndOr:
# Whether `and` and `or` are banned only in conditionals (conditionals)
# or completely (always).
EnforcedStyle: conditionals
# Style/DoubleNegation:
# Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
# Style/NumericLiterals:
# Enabled: false
Style/TrailingUnderscoreVariable:
AllowNamedUnderscoreVariables: true
# Style/GuardClause:
# Enabled: false
# Style/MultilineBlockChain:
# Enabled: false
Metrics/LineLength:
Max: 110
Style/MultilineMethodCallIndentation:
EnforcedStyle: indented_relative_to_receiver
Style/Documentation:
Enabled: false