@@ -13,340 +13,4 @@ AllCops:
13
13
- site-modules/**/*
14
14
- tasks/**/*
15
15
SuggestExtensions : false
16
- TargetRubyVersion : 2.5
17
-
18
- # Layout cops
19
- # https://docs.rubocop.org/rubocop/cops_layout.html
20
-
21
- Layout/BeginEndAlignment :
22
- Enabled : true
23
-
24
- Layout/ClosingHeredocIndentation :
25
- Enabled : false
26
-
27
- Layout/EmptyLineAfterGuardClause :
28
- Enabled : false
29
-
30
- Layout/EmptyLinesAroundAttributeAccessor :
31
- Enabled : true
32
-
33
- Layout/EndOfLine :
34
- EnforcedStyle : lf
35
-
36
- Layout/HashAlignment :
37
- EnforcedColonStyle :
38
- - key
39
- - table
40
- EnforcedHashRocketStyle :
41
- - key
42
- - table
43
-
44
- Layout/HeredocIndentation :
45
- Enabled : false
46
-
47
- Layout/LineLength :
48
- Max : 120
49
-
50
- Layout/SpaceAroundMethodCallOperator :
51
- Enabled : true
52
-
53
- Layout/SpaceBeforeBrackets :
54
- Enabled : true
55
-
56
- Layout/TrailingWhitespace :
57
- AllowInHeredoc : true
58
-
59
- # Lint cops
60
- # https://docs.rubocop.org/rubocop/cops_lint.html
61
-
62
- Lint/AmbiguousAssignment :
63
- Enabled : true
64
-
65
- Lint/BinaryOperatorWithIdenticalOperands :
66
- Enabled : true
67
-
68
- Lint/ConstantDefinitionInBlock :
69
- Enabled : true
70
-
71
- Lint/DeprecatedConstants :
72
- Enabled : true
73
-
74
- Lint/DeprecatedOpenSSLConstant :
75
- Enabled : true
76
-
77
- Lint/DuplicateBranch :
78
- Enabled : true
79
-
80
- Lint/DuplicateElsifCondition :
81
- Enabled : true
82
-
83
- Lint/DuplicateRegexpCharacterClassElement :
84
- Enabled : true
85
-
86
- Lint/DuplicateRequire :
87
- Enabled : true
88
-
89
- Lint/DuplicateRescueException :
90
- Enabled : true
91
-
92
- Lint/EmptyBlock :
93
- Enabled : true
94
- Exclude :
95
- - bolt-modules/**/lib/puppet/functions/**/*
96
- - lib/bolt/transport/orch.rb
97
- - spec/**/*
98
-
99
- Lint/EmptyClass :
100
- Enabled : true
101
-
102
- Lint/EmptyConditionalBody :
103
- Enabled : true
104
-
105
- Lint/EmptyFile :
106
- Enabled : true
107
-
108
- Lint/FloatComparison :
109
- Enabled : true
110
-
111
- Lint/HashCompareByIdentity :
112
- Enabled : false
113
-
114
- Lint/IdentityComparison :
115
- Enabled : true
116
-
117
- Lint/LambdaWithoutLiteralBlock :
118
- Enabled : true
119
-
120
- Lint/MissingSuper :
121
- Enabled : false
122
-
123
- Lint/MixedRegexpCaptureTypes :
124
- Enabled : false
125
-
126
- Lint/NoReturnInBeginEndBlocks :
127
- Enabled : true
128
-
129
- Lint/OutOfRangeRegexpRef :
130
- Enabled : true
131
-
132
- Lint/RaiseException :
133
- Enabled : true
134
-
135
- Lint/RedundantDirGlobSort :
136
- Enabled : true
137
-
138
- Lint/RedundantSafeNavigation :
139
- Enabled : true
140
-
141
- Lint/SelfAssignment :
142
- Enabled : true
143
-
144
- Lint/StructNewOverride :
145
- Enabled : true
146
-
147
- Lint/SuppressedException :
148
- Exclude :
149
- - lib/bolt/shell/bash.rb
150
- - lib/bolt/module_installer.rb
151
-
152
- Lint/ToEnumArguments :
153
- Enabled : true
154
-
155
- Lint/TopLevelReturnWithArgument :
156
- Enabled : true
157
-
158
- Lint/TrailingCommaInAttributeDeclaration :
159
- Enabled : true
160
-
161
- Lint/UnexpectedBlockArity :
162
- Enabled : true
163
-
164
- Lint/UnmodifiedReduceAccumulator :
165
- Enabled : true
166
-
167
- Lint/UnreachableLoop :
168
- Enabled : true
169
-
170
- Lint/UselessMethodDefinition :
171
- Enabled : false
172
-
173
- Lint/UselessTimes :
174
- Enabled : true
175
-
176
- # Metrics cops
177
- # https://docs.rubocop.org/rubocop/cops_metrics.html
178
-
179
- Metrics/AbcSize :
180
- Enabled : false
181
-
182
- Metrics/BlockLength :
183
- Enabled : false
184
-
185
- Metrics/BlockNesting :
186
- Enabled : false
187
-
188
- Metrics/ClassLength :
189
- Enabled : false
190
-
191
- Metrics/CyclomaticComplexity :
192
- Enabled : false
193
-
194
- Metrics/MethodLength :
195
- Enabled : false
196
-
197
- Metrics/ModuleLength :
198
- Enabled : false
199
-
200
- Metrics/ParameterLists :
201
- Enabled : false
202
-
203
- Metrics/PerceivedComplexity :
204
- Enabled : false
205
-
206
- # Style cops
207
- # https://docs.rubocop.org/rubocop/cops_style.html
208
-
209
- Style/AccessModifierDeclarations :
210
- Enabled : false
211
-
212
- Style/AccessorGrouping :
213
- Enabled : true
214
-
215
- Style/ArgumentsForwarding :
216
- Enabled : true
217
-
218
- Style/ArrayCoercion :
219
- Enabled : true
220
-
221
- Style/BisectedAttrAccessor :
222
- Enabled : true
223
-
224
- Style/BlockDelimiters :
225
- Enabled : false
226
-
227
- Style/CaseLikeIf :
228
- Enabled : true
229
-
230
- Style/CollectionCompact :
231
- Enabled : true
232
-
233
- Style/ClassEqualityComparison :
234
- Enabled : true
235
-
236
- Style/CombinableLoops :
237
- Enabled : true
238
-
239
- Style/Documentation :
240
- Enabled : false
241
-
242
- Style/DocumentDynamicEvalDefinition :
243
- Enabled : true
244
-
245
- Style/DoubleNegation :
246
- Enabled : false
247
-
248
- Style/EndlessMethod :
249
- Enabled : true
250
-
251
- Style/ExplicitBlockArgument :
252
- Enabled : false
253
-
254
- Style/ExponentialNotation :
255
- Enabled : true
256
-
257
- Style/GlobalStdStream :
258
- Enabled : true
259
-
260
- Style/GuardClause :
261
- Enabled : false
262
-
263
- Style/HashAsLastArrayItem :
264
- Enabled : false
265
-
266
- Style/HashEachMethods :
267
- Enabled : true
268
-
269
- Style/HashExcept :
270
- Enabled : true
271
-
272
- Style/HashLikeCase :
273
- Enabled : true
274
-
275
- Style/HashTransformKeys :
276
- Enabled : true
277
-
278
- Style/HashTransformValues :
279
- Enabled : true
280
-
281
- Style/IfUnlessModifier :
282
- Enabled : false
283
-
284
- Style/KeywordParametersOrder :
285
- Enabled : true
286
-
287
- Style/MultilineBlockChain :
288
- Enabled : false
289
-
290
- Style/NegatedIfElseCondition :
291
- Enabled : true
292
-
293
- Style/NilLambda :
294
- Enabled : true
295
-
296
- Style/NumericLiterals :
297
- Enabled : false
298
-
299
- Style/NumericPredicate :
300
- Enabled : false
301
-
302
- Style/OptionalBooleanParameter :
303
- Enabled : false
304
-
305
- Style/RedundantArgument :
306
- Enabled : true
307
-
308
- Style/RedundantAssignment :
309
- Enabled : true
310
-
311
- Style/RedundantFetchBlock :
312
- Enabled : true
313
-
314
- Style/RedundantFileExtensionInRequire :
315
- Enabled : true
316
-
317
- Style/RedundantRegexpCharacterClass :
318
- Enabled : true
319
-
320
- Style/RedundantRegexpEscape :
321
- Enabled : true
322
-
323
- Style/RedundantSelfAssignment :
324
- Enabled : true
325
-
326
- Style/RegexpLiteral :
327
- Enabled : true
328
- EnforcedStyle : mixed
329
-
330
- Style/SafeNavigation :
331
- Enabled : false
332
-
333
- Style/SingleArgumentDig :
334
- Enabled : false
335
-
336
- Style/SlicingWithRange :
337
- Enabled : false
338
-
339
- Style/SoleNestedConditional :
340
- Enabled : false
341
-
342
- Style/StderrPuts :
343
- Enabled : false
344
-
345
- Style/StringConcatenation :
346
- Enabled : false
347
-
348
- Style/StringLiterals :
349
- Enabled : false
350
-
351
- Style/SwapValues :
352
- Enabled : true
16
+ TargetRubyVersion : 3.0
0 commit comments