semantic_puppet 0.1.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e204300a1f6f9188796a9dd602c30f62762d765d
4
- data.tar.gz: cca5d579a7002ae8207652352497b1ebe5bc3b2c
3
+ metadata.gz: 6cc51e7ab0b07b0b4c1979c14793404659c9720a
4
+ data.tar.gz: 3227968773bf344fc65892aad90f6f0fd05647ae
5
5
  SHA512:
6
- metadata.gz: 591144201a679d5ed1ddb237b51c78f36a930b426156c1f0ae48bfaec4f66b4285812fe769db326e64875ba7ffec6216e30bf61b2308ed6ef1a4fe56a595a490
7
- data.tar.gz: d449dcf10e49683e326c117489557ee9c9d1f73cd087a9621c72fb969b89bd69ba6b10a3da97c912c0374a2860bb35eb0d9d84d99814296ae5c1302b7ec93676
6
+ metadata.gz: 08852e7be254e66d9ca6c3b577535d127326132f63b13c9c1989092057398e5e9a4471264f85219b884b0b16eceef7e6873bbaee4ea6bdf6b0d6bb2f4c79a3c9
7
+ data.tar.gz: 2be83a97af2b3533fdf0b77c9bbf85d6216e66a3ef88c721d60843411541dc1c36493e6ea75acca75cd72ddac0a7929106a44f3118c28e0c60f4163898e6c406
@@ -0,0 +1,672 @@
1
+ AllCops:
2
+ Include:
3
+ - 'lib/**/*.rb'
4
+ Exclude:
5
+ - 'spec/**/*'
6
+
7
+ Lint/ConditionPosition:
8
+ Enabled: true
9
+
10
+ Lint/ElseLayout:
11
+ Enabled: true
12
+
13
+ Lint/UnreachableCode:
14
+ Enabled: true
15
+
16
+ Lint/UselessComparison:
17
+ Enabled: true
18
+
19
+ # MAYBE useful - no return inside ensure block.
20
+ Lint/EnsureReturn:
21
+ Enabled: false
22
+
23
+ # MAYBE useful - errors when rescue {} happens.
24
+ Lint/HandleExceptions:
25
+ Enabled: false
26
+
27
+ # MAYBE useful - catches while 1
28
+ Lint/LiteralInCondition:
29
+ Enabled: false
30
+
31
+ Lint/ShadowingOuterLocalVariable:
32
+ Enabled: true
33
+
34
+ # Can catch complicated strings.
35
+ Lint/LiteralInInterpolation:
36
+ Enabled: true
37
+
38
+
39
+ # DISABLED really useless. Detects return as last statement.
40
+ Style/RedundantReturn:
41
+ Enabled: false
42
+
43
+ # Disabled. Throws an error trying to run.
44
+ Style/RedundantParentheses:
45
+ Enabled: false
46
+
47
+ # DISABLED since the instances do not seem to indicate any specific errors.
48
+ Lint/AmbiguousOperator:
49
+ Enabled: false
50
+
51
+ # DISABLED since for all the checked, we are basically checking nil
52
+ # TODO: Change the checking so that if the variable being assigned to has
53
+ # a value ALREADY, then raise an error.
54
+ Lint/AssignmentInCondition:
55
+ Enabled: false
56
+
57
+ # DISABLED - not useful
58
+ Style/SpaceBeforeComment:
59
+ Enabled: false
60
+
61
+ # DISABLED - not useful
62
+ Style/HashSyntax:
63
+ Enabled: false
64
+
65
+ # USES: as shortcut for non nil&valid checking a = x() and a.empty?
66
+ # DISABLED - not useful
67
+ Style/AndOr:
68
+ Enabled: false
69
+
70
+ # DISABLED - not useful
71
+ Style/RedundantSelf:
72
+ Enabled: false
73
+
74
+ # DISABLED - not useful
75
+ Metrics/MethodLength:
76
+ Enabled: false
77
+
78
+ # DISABLED - not useful
79
+ Style/WhileUntilModifier:
80
+ Enabled: false
81
+
82
+ # DISABLED - the offender is just haskell envy
83
+ Lint/AmbiguousRegexpLiteral:
84
+ Enabled: false
85
+
86
+ # DISABLED
87
+ Lint/Eval:
88
+ Enabled: false
89
+ # DISABLED
90
+ Lint/BlockAlignment:
91
+ Enabled: false
92
+
93
+ # DISABLED
94
+ Lint/DefEndAlignment:
95
+ Enabled: false
96
+
97
+ # DISABLED
98
+ Lint/EndAlignment:
99
+ Enabled: false
100
+
101
+ # DISABLED
102
+ Lint/DeprecatedClassMethods:
103
+ Enabled: false
104
+
105
+ # DISABLED
106
+ Lint/Loop:
107
+ Enabled: false
108
+
109
+ # DISABLED
110
+ Lint/ParenthesesAsGroupedExpression:
111
+ Enabled: false
112
+
113
+ Lint/RescueException:
114
+ Enabled: false
115
+
116
+ Lint/StringConversionInInterpolation:
117
+ Enabled: false
118
+
119
+ Lint/UnusedBlockArgument:
120
+ Enabled: false
121
+
122
+ Lint/UnusedMethodArgument:
123
+ Enabled: false
124
+
125
+ # DISABLED - TODO
126
+ Lint/UselessAccessModifier:
127
+ Enabled: false
128
+
129
+ # DISABLED - TODO
130
+ Lint/UselessAssignment:
131
+ Enabled: false
132
+
133
+ # DISABLED - TODO
134
+ Lint/Void:
135
+ Enabled: false
136
+
137
+ Style/AccessModifierIndentation:
138
+ Enabled: false
139
+
140
+ Style/AccessorMethodName:
141
+ Enabled: false
142
+
143
+ Style/Alias:
144
+ Enabled: false
145
+
146
+ Style/AlignArray:
147
+ Enabled: false
148
+
149
+ Style/AlignHash:
150
+ Enabled: false
151
+
152
+ Style/AlignParameters:
153
+ Enabled: false
154
+
155
+ Metrics/BlockNesting:
156
+ Enabled: false
157
+
158
+ Style/AsciiComments:
159
+ Enabled: false
160
+
161
+ Style/Attr:
162
+ Enabled: false
163
+
164
+ Style/BracesAroundHashParameters:
165
+ Enabled: false
166
+
167
+ Style/CaseEquality:
168
+ Enabled: false
169
+
170
+ Style/CaseIndentation:
171
+ Enabled: false
172
+
173
+ Style/CharacterLiteral:
174
+ Enabled: false
175
+
176
+ Style/ClassAndModuleCamelCase:
177
+ Enabled: false
178
+
179
+ Style/ClassAndModuleChildren:
180
+ Enabled: false
181
+
182
+ Style/ClassCheck:
183
+ Enabled: false
184
+
185
+ Metrics/ClassLength:
186
+ Enabled: false
187
+
188
+ Style/ClassMethods:
189
+ Enabled: false
190
+
191
+ Style/ClassVars:
192
+ Enabled: false
193
+
194
+ Style/WhenThen:
195
+ Enabled: false
196
+
197
+
198
+ # DISABLED - not useful
199
+ Style/WordArray:
200
+ Enabled: false
201
+
202
+ Style/UnneededPercentQ:
203
+ Enabled: false
204
+
205
+ Style/Tab:
206
+ Enabled: false
207
+
208
+ Style/SpaceBeforeSemicolon:
209
+ Enabled: false
210
+
211
+ Style/TrailingBlankLines:
212
+ Enabled: false
213
+
214
+ Style/SpaceInsideBlockBraces:
215
+ Enabled: false
216
+
217
+ Style/SpaceInsideBrackets:
218
+ Enabled: false
219
+
220
+ Style/SpaceInsideHashLiteralBraces:
221
+ Enabled: false
222
+
223
+ Style/SpaceInsideParens:
224
+ Enabled: false
225
+
226
+ Style/LeadingCommentSpace:
227
+ Enabled: false
228
+
229
+ Style/SpaceAfterColon:
230
+ Enabled: false
231
+
232
+ Style/SpaceAfterComma:
233
+ Enabled: false
234
+
235
+ Style/SpaceAroundKeyword:
236
+ Enabled: false
237
+
238
+ Style/SpaceAfterMethodName:
239
+ Enabled: false
240
+
241
+ Style/SpaceAfterNot:
242
+ Enabled: false
243
+
244
+ Style/SpaceAfterSemicolon:
245
+ Enabled: false
246
+
247
+ Style/SpaceAroundEqualsInParameterDefault:
248
+ Enabled: false
249
+
250
+ Style/SpaceAroundOperators:
251
+ Enabled: false
252
+
253
+ Style/SpaceBeforeBlockBraces:
254
+ Enabled: false
255
+
256
+ Style/SpaceBeforeComma:
257
+ Enabled: false
258
+
259
+
260
+ Style/CollectionMethods:
261
+ Enabled: false
262
+
263
+ Style/CommentIndentation:
264
+ Enabled: false
265
+
266
+ Style/ColonMethodCall:
267
+ Enabled: false
268
+
269
+ Style/CommentAnnotation:
270
+ Enabled: false
271
+
272
+ Metrics/CyclomaticComplexity:
273
+ Enabled: false
274
+
275
+ Style/ConstantName:
276
+ Enabled: false
277
+
278
+ Style/Documentation:
279
+ Enabled: false
280
+
281
+ Style/DefWithParentheses:
282
+ Enabled: false
283
+
284
+ Style/DeprecatedHashMethods:
285
+ Enabled: false
286
+
287
+ Style/DotPosition:
288
+ Enabled: false
289
+
290
+ # DISABLED - used for converting to bool
291
+ Style/DoubleNegation:
292
+ Enabled: false
293
+
294
+ Style/EachWithObject:
295
+ Enabled: false
296
+
297
+ Style/EmptyLineBetweenDefs:
298
+ Enabled: false
299
+
300
+ Style/IndentArray:
301
+ Enabled: false
302
+
303
+ Style/IndentHash:
304
+ Enabled: false
305
+
306
+ Style/IndentationConsistency:
307
+ Enabled: false
308
+
309
+ Style/IndentationWidth:
310
+ Enabled: false
311
+
312
+ Style/EmptyLines:
313
+ Enabled: false
314
+
315
+ Style/EmptyLinesAroundAccessModifier:
316
+ Enabled: false
317
+
318
+ Style/EmptyLiteral:
319
+ Enabled: false
320
+
321
+ Metrics/LineLength:
322
+ Enabled: false
323
+
324
+ Style/MethodCallParentheses:
325
+ Enabled: false
326
+
327
+ Style/MethodDefParentheses:
328
+ Enabled: false
329
+
330
+ Style/LineEndConcatenation:
331
+ Enabled: false
332
+
333
+ Style/TrailingWhitespace:
334
+ Enabled: false
335
+
336
+ Style/StringLiterals:
337
+ Enabled: false
338
+
339
+ Style/TrailingCommaInLiteral:
340
+ Enabled: false
341
+
342
+ Style/TrailingCommaInArguments:
343
+ Enabled: false
344
+
345
+ Style/GlobalVars:
346
+ Enabled: false
347
+
348
+ Style/GuardClause:
349
+ Enabled: false
350
+
351
+ Style/IfUnlessModifier:
352
+ Enabled: false
353
+
354
+ Style/MultilineIfThen:
355
+ Enabled: false
356
+
357
+ Style/NegatedIf:
358
+ Enabled: false
359
+
360
+ Style/NegatedWhile:
361
+ Enabled: false
362
+
363
+ Style/Next:
364
+ Enabled: false
365
+
366
+ Style/SingleLineBlockParams:
367
+ Enabled: false
368
+
369
+ Style/SingleLineMethods:
370
+ Enabled: false
371
+
372
+ Style/SpecialGlobalVars:
373
+ Enabled: false
374
+
375
+
376
+ Style/TrivialAccessors:
377
+ Enabled: false
378
+
379
+ Style/UnlessElse:
380
+ Enabled: false
381
+
382
+ Style/VariableInterpolation:
383
+ Enabled: false
384
+
385
+ Style/VariableName:
386
+ Enabled: false
387
+
388
+ Style/WhileUntilDo:
389
+ Enabled: false
390
+
391
+ Style/EvenOdd:
392
+ Enabled: false
393
+
394
+ Style/FileName:
395
+ Enabled: false
396
+
397
+ Style/For:
398
+ Enabled: false
399
+
400
+ Style/Lambda:
401
+ Enabled: false
402
+
403
+ Style/MethodName:
404
+ Enabled: false
405
+
406
+ Style/MultilineTernaryOperator:
407
+ Enabled: false
408
+
409
+ Style/NestedTernaryOperator:
410
+ Enabled: false
411
+
412
+ Style/NilComparison:
413
+ Enabled: false
414
+
415
+ Style/FormatString:
416
+ Enabled: false
417
+
418
+ Style/MultilineBlockChain:
419
+ Enabled: false
420
+
421
+ Style/Semicolon:
422
+ Enabled: false
423
+
424
+ Style/SignalException:
425
+ Enabled: false
426
+
427
+ Style/NonNilCheck:
428
+ Enabled: false
429
+
430
+ Style/Not:
431
+ Enabled: false
432
+
433
+ Style/NumericLiterals:
434
+ Enabled: false
435
+
436
+ Style/OneLineConditional:
437
+ Enabled: false
438
+
439
+ Style/OpMethod:
440
+ Enabled: false
441
+
442
+ Style/ParenthesesAroundCondition:
443
+ Enabled: false
444
+
445
+ Style/PercentLiteralDelimiters:
446
+ Enabled: false
447
+
448
+ Style/PerlBackrefs:
449
+ Enabled: false
450
+
451
+ Style/PredicateName:
452
+ Enabled: false
453
+
454
+ Style/RedundantException:
455
+ Enabled: false
456
+
457
+ Style/SelfAssignment:
458
+ Enabled: false
459
+
460
+ Style/Proc:
461
+ Enabled: false
462
+
463
+ Style/RaiseArgs:
464
+ Enabled: false
465
+
466
+ Style/RedundantBegin:
467
+ Enabled: false
468
+
469
+ Style/RescueModifier:
470
+ Enabled: false
471
+
472
+ Style/RegexpLiteral:
473
+ Enabled: false
474
+
475
+ Lint/UnderscorePrefixedVariableName:
476
+ Enabled: false
477
+
478
+ Metrics/ParameterLists:
479
+ Enabled: false
480
+
481
+ Lint/RequireParentheses:
482
+ Enabled: false
483
+
484
+ Style/SpaceBeforeFirstArg:
485
+ Enabled: false
486
+
487
+ Style/ModuleFunction:
488
+ Enabled: false
489
+
490
+ Lint/Debugger:
491
+ Enabled: false
492
+
493
+ Style/IfWithSemicolon:
494
+ Enabled: false
495
+
496
+ Style/Encoding:
497
+ Enabled: false
498
+
499
+ Metrics/PerceivedComplexity:
500
+ Enabled: false
501
+
502
+ Style/SymbolProc:
503
+ Enabled: false
504
+
505
+ Style/SpaceInsideRangeLiteral:
506
+ Enabled: false
507
+
508
+ Style/InfiniteLoop:
509
+ Enabled: false
510
+
511
+ Style/BarePercentLiterals:
512
+ Enabled: false
513
+
514
+ Style/PercentQLiterals:
515
+ Enabled: false
516
+
517
+ Style/MultilineBlockLayout:
518
+ Enabled: false
519
+
520
+ Metrics/AbcSize:
521
+ Enabled: false
522
+
523
+ Style/MutableConstant:
524
+ Enabled: false
525
+
526
+ Style/BlockDelimiters:
527
+ Enabled: false
528
+
529
+ Style/EmptyLinesAroundClassBody:
530
+ Enabled: false
531
+
532
+ Style/ConditionalAssignment:
533
+ Enabled: false
534
+
535
+ Style/ExtraSpacing:
536
+ Enabled: false
537
+
538
+ Style/EmptyLinesAroundBlockBody:
539
+ Enabled: false
540
+
541
+ Style/EmptyLinesAroundModuleBody:
542
+ Enabled: false
543
+
544
+ Style/MultilineOperationIndentation:
545
+ Enabled: false
546
+
547
+ Style/EmptyElse:
548
+ Enabled: false
549
+
550
+ Style/StringLiteralsInInterpolation:
551
+ Enabled: false
552
+
553
+ Style/MultilineMethodCallIndentation:
554
+ Enabled: false
555
+
556
+ Metrics/ModuleLength:
557
+ Enabled: false
558
+
559
+ Style/EmptyLinesAroundMethodBody:
560
+ Enabled: false
561
+
562
+ Lint/IneffectiveAccessModifier:
563
+ Enabled: false
564
+
565
+ Performance/StringReplacement:
566
+ Enabled: false
567
+
568
+ Style/ClosingParenthesisIndentation:
569
+ Enabled: false
570
+
571
+ Style/UnneededInterpolation:
572
+ Enabled: false
573
+
574
+ Style/ElseAlignment:
575
+ Enabled: false
576
+
577
+ Style/FrozenStringLiteralComment:
578
+ Enabled: false
579
+
580
+ Style/FirstParameterIndentation:
581
+ Enabled: false
582
+
583
+ Style/IfInsideElse:
584
+ Enabled: false
585
+
586
+ Style/IndentAssignment:
587
+ Enabled: false
588
+
589
+ Style/SpaceAroundBlockParameters:
590
+ Enabled: false
591
+
592
+ Style/ParallelAssignment:
593
+ Enabled: false
594
+
595
+ Performance/RedundantBlockCall:
596
+ Enabled: false
597
+
598
+ Style/IdenticalConditionalBranches:
599
+ Enabled: false
600
+
601
+ Performance/RedundantMatch:
602
+ Enabled: false
603
+
604
+ Style/CommandLiteral:
605
+ Enabled: false
606
+
607
+ Performance/Casecmp:
608
+ Enabled: false
609
+
610
+ Lint/NestedMethodDefinition:
611
+ Enabled: false
612
+
613
+ Style/SpaceInsideStringInterpolation:
614
+ Enabled: false
615
+
616
+ Performance/RedundantMerge:
617
+ Enabled: false
618
+
619
+ Performance/ReverseEach:
620
+ Enabled: false
621
+
622
+ Style/NestedModifier:
623
+ Enabled: false
624
+
625
+ Lint/NonLocalExitFromIterator:
626
+ Enabled: false
627
+
628
+ Performance/Count:
629
+ Enabled: false
630
+
631
+ Style/NestedParenthesizedCalls:
632
+ Enabled: false
633
+
634
+ Style/RescueEnsureAlignment:
635
+ Enabled: false
636
+
637
+ Lint/DuplicateMethods:
638
+ Enabled: false
639
+
640
+ Performance/RangeInclude:
641
+ Enabled: false
642
+
643
+ Style/TrailingUnderscoreVariable:
644
+ Enabled: false
645
+
646
+ Lint/LiteralInInterpolation:
647
+ Enabled: false
648
+
649
+ Performance/DoubleStartEndWith:
650
+ Enabled: false
651
+
652
+ Performance/RedundantSortBy:
653
+ Enabled: false
654
+
655
+ Performance/TimesMap:
656
+ Enabled: false
657
+
658
+ Style/InitialIndentation:
659
+ Enabled: false
660
+
661
+ Style/StructInheritance:
662
+ Enabled: false
663
+
664
+ Style/SymbolLiteral:
665
+ Enabled: false
666
+
667
+ Style/IfUnlessModifierOfIfUnless:
668
+ Enabled: false
669
+
670
+ Style/ZeroLengthPredicate:
671
+ Enabled: false
672
+