-
Notifications
You must be signed in to change notification settings - Fork 6
/
.rubocop.yml
41 lines (32 loc) · 991 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
---
require:
- rubocop-rake
- rubocop-rspec
# this alligns with our settings in voxpupuli-rubocop
# but we cannot depend on that because it pulls in newer rubocop versions,
# which would break our modules on legacy puppetserver
AllCops:
NewCops: enable
DisplayCopNames: true
ExtraDetails: true
DisplayStyleGuide: true
# this currently doesn't work with the way we handle our secrets
Gemspec/RequireMFA:
Enabled: false
# Vox Pupuli default is to use `add_development_dependency` in the gemspec
Gemspec/DevelopmentDependencies:
Enabled: false
Style/TernaryParentheses:
EnforcedStyle: require_parentheses_when_complex
Style/TrailingCommaInHashLiteral:
Enabled: true
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInArrayLiteral:
Enabled: true
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInArguments:
Enabled: true
EnforcedStyleForMultiline: comma
Style/IfUnlessModifier:
Enabled: false
inherit_from: .rubocop_todo.yml