-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
39 lines (30 loc) · 888 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
# Copyright (c) 2015 VMware, Inc. All Rights Reserved.
MethodLength:
CountComments: false # count full line comments?
Enabled: false
# MethodName:
# EnforcedStyle: snake_case
AccessorMethodName:
Description: Check the naming of accessor methods for get_/set_.
Enabled: false
Encoding:
Description: 'Use UTF-8 as the source file encoding.'
Enabled: true
HashSyntax:
Description: >-
Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax
{ :a => 1, :b => 2 }.
Enabled: false
EnforcedStyle: hash_rockets
LineEndConcatenation:
Description: 'Use \\ instead of + to concatenate two string literals at line end.'
Enabled: true
LineLength:
Description: 'Limit lines to 79 characters.'
Enabled: true
Max: 80
CyclomaticComplexity:
Description: 'Avoid complex methods.'
Enabled: false
Style/FileName:
Enabled: false