1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2025-04-09 15:40:01 UTC using RuboCop version 1.64.1 .
3
+ # on 2025-09-30 12:45:13 UTC using RuboCop version 1.73.2 .
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
9
9
# Offense count: 1
10
- # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
10
+ # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch .
11
11
Lint/DuplicateBranch :
12
12
Exclude :
13
13
- ' lib/puppet-languageserver-sidecar/puppet_helper.rb'
@@ -36,7 +36,13 @@ Lint/OrAssignmentToConstant:
36
36
Exclude :
37
37
- ' lib/puppet-languageserver/session_state/document_store.rb'
38
38
39
- # Offense count: 169
39
+ # Offense count: 2
40
+ Lint/UselessConstantScoping :
41
+ Exclude :
42
+ - ' lib/puppet-languageserver/manifest/format_on_type_provider.rb'
43
+ - ' lib/puppet-languageserver/sidecar_protocol.rb'
44
+
45
+ # Offense count: 168
40
46
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
41
47
Metrics/AbcSize :
42
48
Max : 152
@@ -86,10 +92,11 @@ Naming/MemoizedInstanceVariableName:
86
92
- ' lib/puppet-languageserver-sidecar/puppet_strings_monkey_patches.rb'
87
93
- ' lib/puppet-languageserver/server_capabilities.rb'
88
94
89
- # Offense count: 3
95
+ # Offense count: 4
90
96
# Configuration parameters: MinSize.
91
97
Performance/CollectionLiteralInLoop :
92
98
Exclude :
99
+ - ' lib/puppet-languageserver-sidecar/puppet_helper.rb'
93
100
- ' lib/puppet-languageserver/sidecar_protocol.rb'
94
101
95
102
# Offense count: 1
@@ -109,14 +116,13 @@ Security/IoMethods:
109
116
Style/Documentation :
110
117
Enabled : false
111
118
112
- # Offense count: 4
119
+ # Offense count: 3
113
120
# This cop supports unsafe autocorrection (--autocorrect-all).
114
121
# Configuration parameters: AllowedReceivers.
115
122
# AllowedReceivers: Thread.current
116
123
Style/HashEachMethods :
117
124
Exclude :
118
125
- ' lib/puppet-languageserver-sidecar/facter_helper.rb'
119
- - ' lib/puppet-languageserver-sidecar/puppet_modulepath_monkey_patches.rb'
120
126
- ' lib/puppet-languageserver-sidecar/puppet_strings_helper.rb'
121
127
- ' lib/puppet-languageserver/manifest/folding_provider.rb'
122
128
@@ -211,7 +217,7 @@ Style/ZeroLengthPredicate:
211
217
212
218
# Offense count: 622
213
219
# This cop supports safe autocorrection (--autocorrect).
214
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
220
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings .
215
221
# URISchemes: http, https
216
222
Layout/LineLength :
217
223
Max : 1529
0 commit comments