-
Notifications
You must be signed in to change notification settings - Fork 29
/
.rubocop.yml
45 lines (36 loc) · 1.08 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
LineLength:
Description: 'Limit lines to 100 characters.'
Max: 100
Enabled: false
HashSyntax:
EnforcedStyle: hash_rockets
Enabled: true
BracesAroundHashParameters:
# Valid values are: braces, no_braces
EnforcedStyle: no_braces
Enabled: false
EmptyLines:
Description: "Don't use several empty lines in a row."
Enabled: false
SpaceInsideBrackets:
Description: 'No spaces after [ or before ].'
Enabled: false
SpaceAfterNot:
Description: Tracks redundant space after the ! operator.
Enabled: true
SpaceInsideHashLiteralBraces:
Description: "Use spaces inside hash literal braces - or don't."
# Valid values (for both parameters) are: space, no_space
EnforcedStyle: space
EnforcedStyleForEmptyBraces: space
Enabled: false
StringLiterals:
# Valid values (denoting the preferred quote delimiters) are:
# single_quotes, double_quotes
EnforcedStyle: single_quotes
Enabled: false
#---------------------------------------------------------------------------------------------------
Documentation:
Enabled: false
SignalException:
EnforcedStyle: only_raise