forked from DeWaRs1206/chef-os-hardening
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
114 lines (102 loc) · 2.97 KB
/
.rubocop_todo.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-03-29 19:15:26 UTC using RuboCop version 1.25.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 1
# Cop supports --auto-correct.
Chef/Correctness/IncorrectLibraryInjection:
Exclude:
- '**/metadata.rb'
- '**/Berksfile'
- 'recipes/sysctl.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: **/spec/*.rb
Chef/Deprecations/ChefSpecCoverageReport:
Exclude:
- 'spec/spec_helper.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: **/metadata.rb
Chef/RedundantCode/LongDescriptionMetadata:
Exclude:
- 'metadata.rb'
# Offense count: 9
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: **/metadata.rb
Chef/RedundantCode/RecipeMetadata:
Exclude:
- 'metadata.rb'
# Offense count: 65
# Cop supports --auto-correct.
Chef/Style/CommentFormat:
Enabled: false
# Offense count: 2
# Cop supports --auto-correct.
Chef/Style/IncludeRecipeWithParentheses:
Exclude:
- '**/attributes/*.rb'
- '**/metadata.rb'
- '**/Berksfile'
- 'recipes/packages.rb'
# Offense count: 8
# Cop supports --auto-correct.
Chef/Style/UnnecessaryPlatformCaseStatement:
Exclude:
- '**/metadata.rb'
- '**/Berksfile'
- 'attributes/default.rb'
- 'attributes/sysctl.rb'
- 'recipes/packages.rb'
- 'recipes/selinux.rb'
- 'recipes/sysctl.rb'
# Offense count: 7
# Cop supports --auto-correct.
Chef/Style/UsePlatformHelpers:
Exclude:
- '**/metadata.rb'
- '**/libraries/*'
- '**/Berksfile'
- 'attributes/sysctl.rb'
- 'recipes/auditd.rb'
- 'recipes/default.rb'
- 'recipes/minimize_access.rb'
# Offense count: 12
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
Exclude:
- 'attributes/default.rb'
- 'recipes/auditd.rb'
- 'recipes/minimize_access.rb'
- 'recipes/yum.rb'
- 'spec/recipes/default_spec.rb'
- 'spec/recipes/sysctl_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInArrayLiteral:
Exclude:
- 'attributes/default.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInHashLiteral:
Exclude:
- 'spec/recipes/login_defs_spec.rb'
- 'spec/recipes/securetty_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: WordRegex.
# SupportedStyles: percent, brackets
Style/WordArray:
EnforcedStyle: percent
MinSize: 6