forked from envygeeks/jekyll-assets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
43 lines (31 loc) · 925 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
40
41
42
43
inherit_from: .rubocop_todo.yml
## Styles ######################################################################
Style/AlignParameters:
EnforcedStyle: with_fixed_indentation
Style/BracesAroundHashParameters:
Enabled: false
Style/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true
Style/Encoding:
EnforcedStyle: when_needed
Style/HashSyntax:
EnforcedStyle: hash_rockets
Style/IndentHash:
EnforcedStyle: consistent
# New lambda syntax is as ugly to me as new syntax of Hash.
Style/Lambda:
Enabled: false
# A bit useless restriction, that makes impossible aligning code like this:
#
# redis do |conn|
# conn.hset :k1, now
# conn.hincrby :k2, 123
# end
SingleSpaceBeforeFirstArg:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
## Metrics #####################################################################
Metrics/MethodLength:
CountComments: false
Max: 15