This repository has been archived by the owner on Jun 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
.rubocop.yml
88 lines (71 loc) · 1.44 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
AllCops:
Exclude:
- 'apt/**/*'
- 'ark/**/*'
- 'build-essential/**/*'
- 'chef_handler/**/*'
- 'chef_handler_sns/**/*'
- 'cron/**/*'
- 'erlang/**/*'
- 'fc_sandbox/**/*'
- 'gemfiles/**/*'
- 'logrotate/**/*'
- 'mysql/**/*'
- 'nodejs/**/*'
- 'ohai/**/*'
- 'opsworks_nodejs/**/*'
- 'papertrail/**/*'
- 'python/**/*'
- 'rabbitmq/**/*'
- 'rails/**/*'
- 'rsyslog/**/*'
- 'runit/**/*'
- 'rvm/**/*'
- 'scout/**/*'
- 'sinopia/**/*'
- 'supervisor/**/*'
- 'test/**/*'
- 'unused/**/*'
- 'vagrant-test/**/*'
- 'vendor/**/*'
- 'xml/**/*'
inherit_from: .rubocop_todo.yml
Metrics/AbcSize:
Max: 21
Exclude:
- 'easybib/providers/deploy_manager.rb'
- '**/spec/*'
- '**/tests/*'
Metrics/BlockLength:
Max: 130
Metrics/LineLength:
Max: 160
Metrics/MethodLength:
Max: 30
Exclude:
- 'easybib/providers/deploy_manager.rb'
Metrics/ClassLength:
Max: 150
Metrics/ModuleLength:
Max: 110
Style/Documentation:
Enabled: false
Style/ModuleFunction:
Enabled: false
Style/HashSyntax:
EnforcedStyle: hash_rockets
Style/NumericLiteralPrefix:
EnforcedOctalStyle: zero_only
Style/PredicateName:
Exclude:
- 'easybib/libraries/*'
Style/EmptyLinesAroundBlockBody:
Enabled: false
Style/ExtraSpacing:
Enabled: false
Style/FileName:
Enabled: false
Lint/UnusedBlockArgument:
Enabled: false
Lint/UnusedMethodArgument:
Enabled: false