-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.hound.yml
More file actions
50 lines (39 loc) · 805 Bytes
/
.hound.yml
File metadata and controls
50 lines (39 loc) · 805 Bytes
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
47
48
49
50
AllCops:
Include:
- 'Gemfile'
- 'Rakefile'
Exclude:
- 'bin/*'
- 'db/schema.rb'
- 'db/migrate/*'
ParameterLists:
Max: 4
CountKeywordArgs: true
ClassLength:
Max: 100
LineLength:
Enabled: false
MethodLength:
CountComments: false
Max: 15
# Avoid more than `Max` levels of nesting.
BlockNesting:
Max: 2
# Disable documentation checking until a class needs to be documented once
Documentation:
Enabled: false
# Enforce Ruby 1.9-compatible hash syntax
HashSyntax:
EnforcedStyle: ruby19
EmptyLinesAroundAccessModifier:
Enabled: true
# Align ends correctly
EndAlignment:
AlignWith: variable
# Indentation of when/else
CaseIndentation:
IndentWhenRelativeTo: end
IndentOneStep: false
# Enforce single_quotes
StringLiterals:
EnforcedStyle: single_quotes