forked from platanus/capistrano3-delayed-job
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.rubocop.yml
56 lines (43 loc) · 1.07 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
55
56
# Should just disable for 'lib/capistrano/tasks/delayed_job.rake'
Metrics/AbcSize:
Max: 16
Metrics/MethodLength:
Max: 10
Metrics/CyclomaticComplexity:
Max: 7
Metrics/PerceivedComplexity:
Max: 7
Metrics/LineLength:
Max: 120
Style/FileName:
Exclude:
- 'lib/capistrano3-delayed-job.rb'
- 'lib/capistrano/delayed-job.rb'
Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%': '{}'
'%i': '[]'
'%q': '{}'
'%Q': '{}'
'%r': '{}'
'%s': ()
'%w': '[]'
'%W': '[]'
'%x': ()
Style/StringLiterals:
Enabled: false
Style/SpaceAfterComma: # really want a way to allow Array(something)[-1,1]
Enabled: false
Style/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: no_space
Style/SpaceAroundOperators:
AllowForAlignment: true
Enabled: false
Style/SpaceInsideBlockBraces:
EnforcedStyle: space
EnforcedStyleForEmptyBraces: no_space
# Space between { and |. Overrides EnforcedStyle if there is a conflict.
SpaceBeforeBlockParameters: false
Style/UnneededPercentQ:
Exclude:
- 'capistrano3-delayed-job.gemspec'