Skip to content

Commit 15b9377

Browse files
Move all rubocop warnings into todo list.
Signed-off-by: Gavin Didrichsen <[email protected]>
1 parent c41d9df commit 15b9377

File tree

1 file changed

+129
-2
lines changed

1 file changed

+129
-2
lines changed

.rubocop_todo.yml

Lines changed: 129 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,54 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2025-03-10 20:03:26 UTC using RuboCop version 1.70.0.
3+
# on 2025-06-05 11:36:25 UTC using RuboCop version 1.70.0.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
77
# versions of RuboCop, may require this file to be generated again.
88

9+
# Offense count: 4
10+
# This cop supports safe autocorrection (--autocorrect).
11+
Layout/EmptyLineAfterGuardClause:
12+
Exclude:
13+
- 'lib/puppet/resource_api.rb'
14+
15+
# Offense count: 2
16+
# This cop supports safe autocorrection (--autocorrect).
17+
Layout/HeredocIndentation:
18+
Exclude:
19+
- 'lib/puppet/resource_api.rb'
20+
21+
# Offense count: 4
22+
# This cop supports safe autocorrection (--autocorrect).
23+
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment, AllowRBSInlineAnnotation, AllowSteepAnnotation.
24+
Layout/LeadingCommentSpace:
25+
Exclude:
26+
- 'lib/puppet/resource_api.rb'
27+
28+
# Offense count: 1
29+
# This cop supports safe autocorrection (--autocorrect).
30+
# Configuration parameters: EnforcedStyle.
31+
# SupportedStyles: leading, trailing
32+
Layout/LineContinuationLeadingSpace:
33+
Exclude:
34+
- 'lib/puppet/resource_api.rb'
35+
36+
# Offense count: 1
37+
# This cop supports safe autocorrection (--autocorrect).
38+
# Configuration parameters: EnforcedStyle.
39+
# SupportedStyles: space, no_space
40+
Layout/LineContinuationSpacing:
41+
Exclude:
42+
- 'lib/puppet/resource_api.rb'
43+
44+
# Offense count: 1
45+
# This cop supports safe autocorrection (--autocorrect).
46+
# Configuration parameters: EnforcedStyle, IndentationWidth.
47+
# SupportedStyles: aligned, indented
48+
Layout/LineEndStringConcatenationIndentation:
49+
Exclude:
50+
- 'lib/puppet/resource_api.rb'
51+
952
# Offense count: 19
1053
# Configuration parameters: AllowComments, AllowEmptyLambdas.
1154
Lint/EmptyBlock:
@@ -24,6 +67,12 @@ Lint/EmptyClass:
2467
- 'spec/puppet/resource_api/transport_spec.rb'
2568
- 'spec/puppet/resource_api_spec.rb'
2669

70+
# Offense count: 5
71+
# This cop supports safe autocorrection (--autocorrect).
72+
Lint/RedundantCopDisableDirective:
73+
Exclude:
74+
- 'lib/puppet/resource_api.rb'
75+
2776
# Offense count: 25
2877
# Configuration parameters: IgnoredMetadata.
2978
RSpec/DescribeClass:
@@ -89,7 +138,7 @@ Style/CollectionCompact:
89138
Exclude:
90139
- 'lib/puppet/resource_api.rb'
91140

92-
# Offense count: 3
141+
# Offense count: 4
93142
# This cop supports unsafe autocorrection (--autocorrect-all).
94143
# Configuration parameters: AllowSplatArgument.
95144
Style/HashConversion:
@@ -106,8 +155,86 @@ Style/HashEachMethods:
106155
Exclude:
107156
- 'lib/puppet/resource_api/type_definition.rb'
108157

158+
# Offense count: 1
159+
# This cop supports unsafe autocorrection (--autocorrect-all).
160+
Style/HashTransformValues:
161+
Exclude:
162+
- 'lib/puppet/resource_api.rb'
163+
164+
# Offense count: 6
165+
# This cop supports safe autocorrection (--autocorrect).
166+
Style/IfUnlessModifier:
167+
Exclude:
168+
- 'lib/puppet/resource_api.rb'
169+
170+
# Offense count: 1
171+
# This cop supports safe autocorrection (--autocorrect).
172+
Style/RedundantAssignment:
173+
Exclude:
174+
- 'lib/puppet/resource_api.rb'
175+
176+
# Offense count: 2
177+
# This cop supports safe autocorrection (--autocorrect).
178+
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
179+
# SupportedStyles: slashes, percent_r, mixed
180+
Style/RegexpLiteral:
181+
Exclude:
182+
- 'lib/puppet/resource_api.rb'
183+
109184
# Offense count: 1
110185
# This cop supports unsafe autocorrection (--autocorrect-all).
111186
Style/SlicingWithRange:
112187
Exclude:
113188
- 'lib/puppet/resource_api.rb'
189+
190+
# Offense count: 1
191+
# This cop supports safe autocorrection (--autocorrect).
192+
# Configuration parameters: AllowModifier.
193+
Style/SoleNestedConditional:
194+
Exclude:
195+
- 'lib/puppet/resource_api.rb'
196+
197+
# Offense count: 2
198+
# This cop supports unsafe autocorrection (--autocorrect-all).
199+
# Configuration parameters: Mode.
200+
Style/StringConcatenation:
201+
Exclude:
202+
- 'lib/puppet/resource_api.rb'
203+
204+
# Offense count: 1
205+
# This cop supports safe autocorrection (--autocorrect).
206+
Style/SuperArguments:
207+
Exclude:
208+
- 'lib/puppet/resource_api.rb'
209+
210+
# Offense count: 4
211+
# This cop supports safe autocorrection (--autocorrect).
212+
# Configuration parameters: .
213+
# SupportedStyles: percent, brackets
214+
Style/SymbolArray:
215+
EnforcedStyle: percent
216+
MinSize: 5
217+
218+
# Offense count: 1
219+
# This cop supports unsafe autocorrection (--autocorrect-all).
220+
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
221+
# AllowedMethods: define_method
222+
Style/SymbolProc:
223+
Exclude:
224+
- 'lib/puppet/resource_api.rb'
225+
226+
# Offense count: 1
227+
# This cop supports safe autocorrection (--autocorrect).
228+
# Configuration parameters: EnforcedStyleForMultiline.
229+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
230+
Style/TrailingCommaInArguments:
231+
Exclude:
232+
- 'lib/puppet/resource_api.rb'
233+
234+
# Offense count: 1
235+
# This cop supports safe autocorrection (--autocorrect).
236+
# Configuration parameters: EnforcedStyleForMultiline.
237+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
238+
Style/TrailingCommaInHashLiteral:
239+
Exclude:
240+
- 'lib/puppet/resource_api.rb'

0 commit comments

Comments
 (0)