forked from chef-boneyard/windows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
76 lines (62 loc) · 1.77 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Rubocop todo
Lint/HandleExceptions:
Exclude:
- 'libraries/powershell_out.rb'
- 'libraries/registry_helper.rb'
- 'libraries/windows_helper.rb'
Lint/ShadowingOuterLocalVariable:
Exclude:
- 'libraries/registry_helper.rb'
Lint/UselessAssignment:
Exclude:
- 'libraries/registry_helper.rb'
Metrics/BlockNesting:
Max: 5
Style/AccessorMethodName:
Exclude:
- 'libraries/matchers.rb'
- 'libraries/version.rb'
- 'providers/font.rb'
- 'providers/pagefile.rb'
- 'providers/task.rb'
Style/ClassVars:
Exclude:
- 'libraries/registry_helper.rb'
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: format, sprintf, percent
Style/FormatString:
Exclude:
- 'libraries/windows_package.rb'
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'libraries/registry_helper.rb'
- 'libraries/windows_privileged.rb'
- 'providers/certificate_binding.rb'
- 'providers/printer.rb'
- 'providers/printer_port.rb'
Style/IfInsideElse:
Exclude:
- 'libraries/powershell_helper.rb'
- 'libraries/windows_package.rb'
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: snake_case, camelCase
Style/MethodName:
Enabled: false
Style/MultilineBlockChain:
Exclude:
- 'providers/task.rb'
Style/MultilineTernaryOperator:
Exclude:
- 'libraries/windows_architecture_helper.rb'
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
Exclude:
- 'libraries/windows_helper.rb'
- 'resources/task.rb'
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: snake_case, camelCase
Style/VariableName:
Enabled: false