forked from edestecd/puppet-clamav
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
50 lines (40 loc) · 1.06 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
# RuboCop config file
# Configure cops
# https://github.com/bbatsov/rubocop
# https://github.com/bbatsov/rubocop/blob/master/config/default.yml
# https://github.com/bbatsov/ruby-style-guide
#
AllCops:
Include:
- '**/*.gemspec'
- '**/*.rake'
- '**/Gemfile'
- '**/Puppetfile'
- '**/Rakefile'
- '**/Guardfile'
Exclude:
- 'modules/**/*'
- 'pkg/**/*'
- 'spec/fixtures/**/*'
- 'vendor/**/*'
DisplayCopNames: true
#################### Layout ###############################
# The shebang stuff at the top triggers this
Layout/LeadingCommentSpace:
Exclude:
- Puppetfile
#################### Style ###############################
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles.
# Support ruby 1.8.7
Style/HashSyntax:
EnforcedStyle: hash_rockets
#################### Metrics ###############################
Metrics/LineLength:
# Ruduce this... Max: 80
Max: 112
Metrics/BlockLength:
Enabled: false
##################### Bundler ##############################
Bundler/DuplicatedGem:
Enabled: false