11# This configuration was generated by
22# `rubocop --auto-gen-config --no-auto-gen-timestamp`
3- # using RuboCop version 1.75.8 .
3+ # using RuboCop version 1.79.2 .
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: 3
10+ # This cop supports unsafe autocorrection (--autocorrect-all).
11+ # Configuration parameters: RequireParenthesesForMethodChains.
12+ Lint/AmbiguousRange :
13+ Exclude :
14+ - ' lib/openvox-strings/yard/parsers/puppet/statement.rb'
15+
916# Offense count: 1
1017Lint/CopDirectiveSyntax :
1118 Exclude :
@@ -16,12 +23,6 @@ Lint/MixedRegexpCaptureTypes:
1623 Exclude :
1724 - ' Gemfile'
1825
19- # Offense count: 1
20- # This cop supports safe autocorrection (--autocorrect).
21- Lint/RedundantCopDisableDirective :
22- Exclude :
23- - ' lib/puppet/face/strings.rb'
24-
2526# Offense count: 2
2627Naming/AccessorMethodName :
2728 Exclude :
@@ -52,6 +53,27 @@ Naming/MethodParameterName:
5253 - ' lib/openvox-strings/yard/handlers/ruby/data_type_handler.rb'
5354 - ' lib/openvox-strings/yard/parsers/puppet/parser.rb'
5455
56+ # Offense count: 3
57+ # Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates.
58+ # AllowedMethods: call
59+ # WaywardPredicates: nonzero?
60+ Naming/PredicateMethod :
61+ Exclude :
62+ - ' lib/openvox-strings/markdown/resource_type.rb'
63+ - ' lib/openvox-strings/yard/parsers/json/task_statement.rb'
64+ - ' lib/openvox-strings/yard/parsers/puppet/statement.rb'
65+
66+ # Offense count: 1
67+ # Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros, UseSorbetSigs.
68+ # NamePrefix: is_, has_, have_, does_
69+ # ForbiddenPrefixes: is_, has_, have_, does_
70+ # AllowedMethods: is_a?
71+ # MethodDefinitionMacros: define_method, define_singleton_method
72+ Naming/PredicatePrefix :
73+ Exclude :
74+ - ' spec/**/*'
75+ - ' lib/openvox-strings/yard/tags/overload_tag.rb'
76+
5577# Offense count: 4
5678# Configuration parameters: MinSize.
5779Performance/CollectionLiteralInLoop :
@@ -94,10 +116,6 @@ RSpec/ExpectInHook:
94116 Exclude :
95117 - ' spec/unit/openvox-strings/json_spec.rb'
96118
97- # Offense count: 91
98- RSpec/MultipleExpectations :
99- Max : 64
100-
101119# Offense count: 5
102120# Configuration parameters: AllowedGroups.
103121RSpec/NestedGroups :
@@ -114,33 +132,27 @@ RSpec/RepeatedExampleGroupDescription:
114132RSpec/SpecFilePathFormat :
115133 Enabled : false
116134
117- # Offense count: 2
118- # This cop supports safe autocorrection (--autocorrect).
119- Rake/Desc :
120- Exclude :
121- - ' Rakefile'
122-
123135# Offense count: 1
124136Style/ClassVars :
125137 Exclude :
126138 - ' lib/openvox-strings/yard/templates/default/layout/html/setup.rb'
127139
140+ # Offense count: 6
141+ # This cop supports unsafe autocorrection (--autocorrect-all).
142+ Style/CollectionQuerying :
143+ Exclude :
144+ - ' lib/openvox-strings/yard/handlers/ruby/function_handler.rb'
145+ - ' lib/openvox-strings/yard/handlers/ruby/provider_handler.rb'
146+ - ' lib/openvox-strings/yard/handlers/ruby/rsapi_handler.rb'
147+ - ' lib/openvox-strings/yard/handlers/ruby/type_base.rb'
148+
128149# Offense count: 3
129150# This cop supports unsafe autocorrection (--autocorrect-all).
130151Style/CombinableLoops :
131152 Exclude :
132153 - ' lib/openvox-strings/markdown.rb'
133154 - ' lib/openvox-strings/yard/handlers/ruby/data_type_handler.rb'
134155
135- # Offense count: 2
136- # This cop supports unsafe autocorrection (--autocorrect-all).
137- # Configuration parameters: EnforcedStyle.
138- # SupportedStyles: literals, strict
139- Style/MutableConstant :
140- Exclude :
141- - ' lib/openvox-strings/yard/handlers/ruby/base.rb'
142- - ' lib/openvox-strings/yard/parsers/puppet/statement.rb'
143-
144156# Offense count: 20
145157# Configuration parameters: AllowedMethods.
146158# AllowedMethods: respond_to_missing?
@@ -160,27 +172,6 @@ Style/OptionalBooleanParameter:
160172 - ' lib/openvox-strings/yard/handlers/ruby/data_type_handler.rb'
161173 - ' lib/openvox-strings/yard/handlers/ruby/function_handler.rb'
162174
163- # Offense count: 2
164- # This cop supports safe autocorrection (--autocorrect).
165- Style/RedundantParentheses :
166- Exclude :
167- - ' lib/openvox-strings/yard/handlers/puppet/function_handler.rb'
168- - ' lib/openvox-strings/yard/tags/overload_tag.rb'
169-
170- # Offense count: 2
171- # This cop supports safe autocorrection (--autocorrect).
172- Style/RedundantRegexpEscape :
173- Exclude :
174- - ' Gemfile'
175-
176- # Offense count: 1
177- # This cop supports safe autocorrection (--autocorrect).
178- # Configuration parameters: EnforcedStyle, AllowInnerSlashes.
179- # SupportedStyles: slashes, percent_r, mixed
180- Style/RegexpLiteral :
181- Exclude :
182- - ' Gemfile'
183-
184175# Offense count: 2
185176# This cop supports unsafe autocorrection (--autocorrect-all).
186177# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
@@ -189,68 +180,3 @@ Style/SafeNavigation:
189180 Exclude :
190181 - ' lib/openvox-strings/yard/handlers/puppet/function_handler.rb'
191182 - ' lib/openvox-strings/yard/handlers/ruby/function_handler.rb'
192-
193- # Offense count: 3
194- # This cop supports safe autocorrection (--autocorrect).
195- # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
196- # SupportedStyles: single_quotes, double_quotes
197- Style/StringLiterals :
198- Exclude :
199- - ' Gemfile'
200- - ' Rakefile'
201-
202- # Offense count: 6
203- # This cop supports safe autocorrection (--autocorrect).
204- # Configuration parameters: EnforcedStyle, AllowSafeAssignment.
205- # SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
206- Style/TernaryParentheses :
207- Exclude :
208- - ' lib/openvox-strings/tasks/generate.rb'
209- - ' lib/openvox-strings/yard/templates/default/layout/html/setup.rb'
210- - ' lib/openvox-strings/yard/templates/default/tags/setup.rb'
211- - ' lib/puppet/face/strings.rb'
212- - ' spec/spec_helper.rb'
213-
214- # Offense count: 17
215- # This cop supports safe autocorrection (--autocorrect).
216- # Configuration parameters: EnforcedStyleForMultiline.
217- # SupportedStylesForMultiline: comma, consistent_comma, no_comma
218- Style/TrailingCommaInArguments :
219- Exclude :
220- - ' lib/openvox-strings/yard.rb'
221- - ' lib/openvox-strings/yard/code_objects/type.rb'
222- - ' lib/openvox-strings/yard/handlers/ruby/function_handler.rb'
223- - ' lib/puppet/face/strings.rb'
224- - ' spec/unit/openvox-strings/yard/handlers/puppet/class_handler_spec.rb'
225- - ' spec/unit/openvox-strings/yard/handlers/puppet/function_handler_spec.rb'
226- - ' spec/unit/openvox-strings/yard/handlers/ruby/function_handler_spec.rb'
227-
228- # Offense count: 16
229- # This cop supports safe autocorrection (--autocorrect).
230- # Configuration parameters: EnforcedStyleForMultiline.
231- # SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
232- Style/TrailingCommaInArrayLiteral :
233- Exclude :
234- - ' lib/openvox-strings/markdown.rb'
235- - ' lib/openvox-strings/yard/templates/default/layout/html/setup.rb'
236- - ' spec/acceptance/generate_json_spec.rb'
237- - ' spec/acceptance/running_strings_generate_spec.rb'
238- - ' spec/unit/openvox-strings/yard/code_objects/task_spec.rb'
239- - ' spec/unit/openvox-strings/yard/handlers/ruby/data_type_handler_spec.rb'
240- - ' spec/unit/openvox-strings/yard/parsers/puppet/parser_spec.rb'
241-
242- # Offense count: 30
243- # This cop supports safe autocorrection (--autocorrect).
244- # Configuration parameters: EnforcedStyleForMultiline.
245- # SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
246- Style/TrailingCommaInHashLiteral :
247- Exclude :
248- - ' lib/openvox-strings/describe.rb'
249- - ' lib/openvox-strings/json.rb'
250- - ' lib/openvox-strings/tasks/generate.rb'
251- - ' lib/openvox-strings/tasks/validate.rb'
252- - ' lib/openvox-strings/yard/code_objects/data_type.rb'
253- - ' lib/openvox-strings/yard/code_objects/task.rb'
254- - ' lib/openvox-strings/yard/templates/default/layout/html/setup.rb'
255- - ' spec/acceptance/generate_json_spec.rb'
256- - ' spec/unit/openvox-strings/yard/code_objects/task_spec.rb'
0 commit comments