-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrubocop-layout.yml
40 lines (31 loc) · 1.36 KB
/
rubocop-layout.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
#
## https://rubocop.readthedocs.io/en/latest/cops_layout/
#
# https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutfirstarrayelementindentation
Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent
# https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutlinelength
Layout/LineLength:
Max: 100
# https://rubocop.readthedocs.io/en/stable/cops_layout/#layoutmultilinemethodcallindentation
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented_relative_to_receiver
# https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutspaceinsidehashliteralbraces
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacebeforebrackets
Layout/SpaceBeforeBrackets:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutlineendstringconcatenationindentation
Layout/LineEndStringConcatenationIndentation:
Enabled: true
EnforcedStyle: aligned
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutlinecontinuationleadingspace
Layout/LineContinuationLeadingSpace:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutlinecontinuationspacing
Layout/LineContinuationSpacing:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutmultilinemethodparameterlinebreaks
Layout/MultilineMethodParameterLineBreaks:
Enabled: true