forked from Ericsson/puppet-module-swrepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
52 lines (40 loc) · 1022 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
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/TrailingCommaInLiteral:
Enabled: false
Style/TrailingCommaInArguments:
Enabled: false
# Cop's that require ruby >= 1.9
Style/HashSyntax:
Enabled: false
Style/BracesAroundHashParameters:
Enabled: false
# It thinks that Ruby version dependend definitions are duplicates
Bundler/DuplicatedGem:
Exclude:
- Gemfile
# It would need a complete rewrite of the test to get this cop satisfied
Metrics/BlockLength:
Exclude:
- spec/**/*.rb