forked from metrixware-echoes-tech/puppet-monit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
52 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
51
52
---
AllCops:
# DisplayCopNames: true
DisplayStyleGuide: true
Exclude:
- vendor/**/*
- pkg/**/*
- spec/fixtures/**/*
# Cop's to ignore
# With this enabled it suggests a change that will break the Gemfile
Lint/AssignmentInCondition:
Enabled: false
Metrics/LineLength:
Enabled: false
# This is a good idea, but does not line up the rest of the lines making it
# harder to read
Style/IndentHash:
Enabled: false
Style/Next:
Enabled: false
# If enabled, this cop makes it harder to understand the logic
Style/NonNilCheck:
Enabled: false
Style/TrailingComma:
Enabled: false
# If enabled, this cop does not like the accessor method to start with 'get_',
# with is a common pattern in the Puppet community.
Style/AccessorMethodName:
Enabled: false
# This is a common pattern in the Puppet community.
Style/ClassAndModuleChildren:
Enabled: false
# This is a common pattern in the Puppet community.
Style/Documentation:
Enabled: false
# Cop's that require ruby >= 1.9
Style/HashSyntax:
Enabled: false
Style/BracesAroundHashParameters:
Enabled: false