-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.rubocop.yml
More file actions
52 lines (42 loc) · 835 Bytes
/
.rubocop.yml
File metadata and controls
52 lines (42 loc) · 835 Bytes
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
---
plugins: rubocop-performance
AllCops:
NewCops: enable
Include:
- 'lib/**/*.rb'
- 'bin/*.rb'
- 'spec/**/*.rb'
- 'spec/**/Puppetfile'
- puppet-check.gemspec
- Gemfile
- Rakefile
- Vagrantfile
Exclude:
- 'spec/fixtures/**/*'
- 'bin/puppet'
# twenty-first century
Metrics:
Enabled: false
Layout/LineLength:
Enabled: false
# why
Layout/EmptyLineAfterGuardClause:
Enabled: false
# poor coding practices
Naming/RescuedExceptionsVariableName:
Enabled: false
# false triggers
Style/EvalWithLocation:
Enabled: false
# false positives
Style/FrozenStringLiteralComment:
Enabled: false
# why
Style/ClassAndModuleChildren:
Enabled: false
# poor practices
Gemspec/DevelopmentDependencies:
Enabled: false
# encourages unreadable code
Style/IfUnlessModifier:
Enabled: false