forked from frapposelli/vagrant-vcloudair
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
34 lines (27 loc) · 795 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
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 80 characters.'
Enabled: true
Max: 80
CyclomaticComplexity:
Description: 'Avoid complex methods.'
Enabled: false