rubocop-amagi 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/rubocop.yml +730 -0
  3. metadata +43 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 7e16fa7c9de973af69f4380c414b2986acaa8005468aa28c675866e193ef48c1
4
+ data.tar.gz: 1a5c157800ec349b5515de7c68f25ae6adb52e541344811b5ea12b4ee1864eb4
5
+ SHA512:
6
+ metadata.gz: 4602a46cf2f198767cba81b136129b4ee2fd63cdf9183fc9353f0581ebbf35a7239d6386721b1ebb7f14dea38f74a73f1bcf1f5a9ce1e43494e918927b6fbfd9
7
+ data.tar.gz: 7221bef12df05bae099ea4927b991bde3d33e4ce4b40c7ea580e8f16eb1db89f9e671cb9135de33dc770ec1fce295d4d0e2cbb4904dfbb4098e41d21776c6ef3
data/rubocop.yml ADDED
@@ -0,0 +1,730 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.7.1
3
+ Exclude:
4
+ - 'vendor/**/*'
5
+ - 'node_modules/**/*'
6
+ DisabledByDefault: true
7
+
8
+ Bundler/DuplicatedGem:
9
+ Enabled: true
10
+
11
+ Bundler/OrderedGems:
12
+ Enabled: true
13
+
14
+ Layout/AccessModifierIndentation:
15
+ Enabled: true
16
+
17
+ Layout/ArgumentAlignment:
18
+ Enabled: true
19
+
20
+ Layout/ArrayAlignment:
21
+ Enabled: true
22
+
23
+ Layout/AssignmentIndentation:
24
+ Enabled: true
25
+
26
+ Layout/BlockAlignment:
27
+ Enabled: true
28
+
29
+ Layout/BlockEndNewline:
30
+ Enabled: true
31
+
32
+ Layout/CaseIndentation:
33
+ Enabled: true
34
+
35
+ Layout/ClosingHeredocIndentation:
36
+ Enabled: true
37
+
38
+ Layout/ClosingParenthesisIndentation:
39
+ Enabled: true
40
+
41
+ Layout/CommentIndentation:
42
+ Enabled: true
43
+
44
+ Layout/DefEndAlignment:
45
+ Enabled: true
46
+
47
+ Layout/DotPosition:
48
+ Enabled: true
49
+
50
+ Layout/ElseAlignment:
51
+ Enabled: true
52
+
53
+ Layout/EmptyComment:
54
+ Enabled: true
55
+
56
+ Layout/EmptyLineAfterGuardClause:
57
+ Enabled: true
58
+
59
+ Layout/EmptyLineBetweenDefs:
60
+ Enabled: true
61
+
62
+ Layout/EmptyLines:
63
+ Enabled: true
64
+
65
+ Layout/EmptyLinesAroundAccessModifier:
66
+ Enabled: true
67
+
68
+ Layout/EmptyLinesAroundBeginBody:
69
+ Enabled: true
70
+
71
+ Layout/EmptyLinesAroundBlockBody:
72
+ Enabled: true
73
+
74
+ Layout/EmptyLinesAroundClassBody:
75
+ Enabled: true
76
+
77
+ Layout/EmptyLinesAroundExceptionHandlingKeywords:
78
+ Enabled: true
79
+
80
+ Layout/EmptyLineAfterMagicComment:
81
+ Enabled: true
82
+
83
+ Layout/EmptyLinesAroundMethodBody:
84
+ Enabled: true
85
+
86
+ Layout/EmptyLinesAroundModuleBody:
87
+ Enabled: true
88
+
89
+ Layout/EndAlignment:
90
+ Enabled: true
91
+
92
+ Layout/EndOfLine:
93
+ Enabled: true
94
+
95
+ Layout/ExtraSpacing:
96
+ Enabled: true
97
+
98
+ Layout/FirstArgumentIndentation:
99
+ Enabled: true
100
+
101
+ Layout/FirstArrayElementIndentation:
102
+ Enabled: true
103
+
104
+ Layout/FirstHashElementIndentation:
105
+ Enabled: true
106
+
107
+ Layout/HashAlignment:
108
+ Enabled: true
109
+
110
+ Layout/HeredocIndentation:
111
+ Enabled: true
112
+
113
+ Layout/IndentationConsistency:
114
+ Enabled: true
115
+
116
+ Layout/IndentationStyle:
117
+ Enabled: true
118
+ EnforcedStyle: spaces
119
+
120
+ Layout/IndentationWidth:
121
+ Enabled: true
122
+
123
+ Layout/InitialIndentation:
124
+ Enabled: true
125
+
126
+ Layout/LeadingCommentSpace:
127
+ Enabled: true
128
+
129
+ Layout/LeadingEmptyLines:
130
+ Enabled: true
131
+
132
+ Layout/LineLength:
133
+ Enabled: true
134
+
135
+ Layout/MultilineArrayBraceLayout:
136
+ Enabled: true
137
+
138
+ Layout/MultilineBlockLayout:
139
+ Enabled: true
140
+
141
+ Layout/MultilineHashBraceLayout:
142
+ Enabled: true
143
+
144
+ Layout/MultilineMethodCallBraceLayout:
145
+ Enabled: true
146
+
147
+ Layout/MultilineMethodCallIndentation:
148
+ Enabled: true
149
+
150
+ Layout/MultilineOperationIndentation:
151
+ Enabled: true
152
+
153
+ Layout/RescueEnsureAlignment:
154
+ Enabled: true
155
+
156
+ Layout/SpaceAfterColon:
157
+ Enabled: true
158
+
159
+ Layout/SpaceAfterComma:
160
+ Enabled: true
161
+
162
+ Layout/SpaceAfterMethodName:
163
+ Enabled: true
164
+
165
+ Layout/SpaceAfterNot:
166
+ Enabled: true
167
+
168
+ Layout/SpaceAfterSemicolon:
169
+ Enabled: true
170
+
171
+ Layout/SpaceAroundBlockParameters:
172
+ Enabled: true
173
+
174
+ Layout/SpaceAroundEqualsInParameterDefault:
175
+ Enabled: true
176
+
177
+ Layout/SpaceAroundKeyword:
178
+ Enabled: true
179
+
180
+ Layout/SpaceAroundOperators:
181
+ Enabled: true
182
+
183
+ Layout/SpaceBeforeBlockBraces:
184
+ Enabled: true
185
+
186
+ Layout/SpaceBeforeComma:
187
+ Enabled: true
188
+
189
+ Layout/SpaceBeforeComment:
190
+ Enabled: true
191
+
192
+ Layout/SpaceBeforeFirstArg:
193
+ Enabled: true
194
+
195
+ Layout/SpaceInsideArrayLiteralBrackets:
196
+ Enabled: true
197
+
198
+ Layout/SpaceInsideArrayPercentLiteral:
199
+ Enabled: true
200
+
201
+ Layout/SpaceInsideBlockBraces:
202
+ Enabled: true
203
+
204
+ Layout/SpaceInsideHashLiteralBraces:
205
+ Enabled: true
206
+
207
+ Layout/SpaceInsideParens:
208
+ Enabled: true
209
+
210
+ Layout/SpaceInsideStringInterpolation:
211
+ Enabled: true
212
+
213
+ Layout/TrailingEmptyLines:
214
+ Enabled: true
215
+
216
+ Layout/TrailingWhitespace:
217
+ Enabled: true
218
+
219
+ Lint/AmbiguousBlockAssociation:
220
+ Enabled: true
221
+
222
+ Lint/AmbiguousRegexpLiteral:
223
+ Enabled: true
224
+
225
+ Lint/AmbiguousOperator:
226
+ Enabled: true
227
+
228
+ Lint/AssignmentInCondition:
229
+ Enabled: true
230
+
231
+ Lint/BinaryOperatorWithIdenticalOperands:
232
+ Enabled: true
233
+
234
+ Lint/DeprecatedClassMethods:
235
+ Enabled: true
236
+
237
+ Lint/DeprecatedOpenSSLConstant:
238
+ Enabled: true
239
+
240
+ Lint/DuplicateCaseCondition:
241
+ Enabled: true
242
+
243
+ Lint/DuplicateHashKey:
244
+ Enabled: true
245
+
246
+ Lint/DuplicateMethods:
247
+ Enabled: true
248
+
249
+ Lint/DuplicateRescueException:
250
+ Enabled: true
251
+
252
+ Lint/EmptyConditionalBody:
253
+ Enabled: true
254
+ AllowComments: true
255
+
256
+ Lint/EmptyWhen:
257
+ Enabled: true
258
+ AllowComments: true
259
+
260
+ Lint/EnsureReturn:
261
+ Enabled: true
262
+
263
+ Lint/ErbNewArguments:
264
+ Enabled: true
265
+
266
+ Lint/ImplicitStringConcatenation:
267
+ Enabled: true
268
+
269
+ Lint/IneffectiveAccessModifier:
270
+ Enabled: true
271
+
272
+ Lint/LiteralAsCondition:
273
+ Enabled: true
274
+
275
+ Lint/Loop:
276
+ Enabled: true
277
+
278
+ Lint/MissingSuper:
279
+ Enabled: true
280
+
281
+ Lint/NestedMethodDefinition:
282
+ Enabled: true
283
+
284
+ Lint/NonDeterministicRequireOrder:
285
+ Enabled: true
286
+
287
+ Lint/NonLocalExitFromIterator:
288
+ Enabled: true
289
+
290
+ Lint/ParenthesesAsGroupedExpression:
291
+ Enabled: true
292
+
293
+ Lint/RedundantStringCoercion:
294
+ Enabled: true
295
+
296
+ Lint/RedundantWithIndex:
297
+ Enabled: true
298
+
299
+ Lint/RescueException:
300
+ Enabled: true
301
+
302
+ Lint/RequireParentheses:
303
+ Enabled: true
304
+
305
+ Lint/ReturnInVoidContext:
306
+ Enabled: true
307
+
308
+ Lint/ScriptPermission:
309
+ Enabled: true
310
+
311
+ Lint/ShadowedArgument:
312
+ Enabled: true
313
+
314
+ Lint/ShadowingOuterLocalVariable:
315
+ Enabled: true
316
+
317
+ Lint/SuppressedException:
318
+ Enabled: true
319
+
320
+ Lint/ToJSON:
321
+ Enabled: true
322
+
323
+ Lint/UnderscorePrefixedVariableName:
324
+ Enabled: true
325
+
326
+ Lint/UnifiedInteger:
327
+ Enabled: true
328
+
329
+ Lint/UnreachableCode:
330
+ Enabled: true
331
+
332
+ Lint/UnusedBlockArgument:
333
+ Enabled: true
334
+
335
+ Lint/UnusedMethodArgument:
336
+ Enabled: true
337
+
338
+ Lint/UselessAssignment:
339
+ Enabled: true
340
+
341
+ Lint/UriEscapeUnescape:
342
+ Enabled: true
343
+
344
+ Lint/UselessAccessModifier:
345
+ Enabled: true
346
+
347
+ Lint/RedundantCopDisableDirective:
348
+ Enabled: true
349
+
350
+ Metrics:
351
+ Enabled: true
352
+
353
+ Naming/AccessorMethodName:
354
+ Enabled: true
355
+
356
+ Naming/FileName:
357
+ Enabled: true
358
+
359
+ Naming/HeredocDelimiterNaming:
360
+ Enabled: true
361
+
362
+ Naming/MemoizedInstanceVariableName:
363
+ Enabled: true
364
+
365
+ Naming/MethodName:
366
+ Enabled: true
367
+
368
+ Naming/MethodParameterName:
369
+ Enabled: true
370
+
371
+ Naming/PredicateName:
372
+ Enabled: true
373
+
374
+ Naming/RescuedExceptionsVariableName:
375
+ Enabled: true
376
+
377
+ Naming/VariableName:
378
+ Enabled: true
379
+
380
+ Naming/VariableNumber:
381
+ Enabled: true
382
+
383
+ Security/Eval:
384
+ Enabled: true
385
+
386
+ Security/JSONLoad:
387
+ Enabled: true
388
+
389
+ Security/Open:
390
+ Enabled: true
391
+
392
+ Security/YAMLLoad:
393
+ Enabled: true
394
+
395
+ Style/Alias:
396
+ Enabled: true
397
+
398
+ Style/AndOr:
399
+ Enabled: true
400
+
401
+ Style/AutoResourceCleanup:
402
+ Enabled: true
403
+
404
+ Style/BarePercentLiterals:
405
+ Enabled: true
406
+
407
+ Style/BisectedAttrAccessor:
408
+ Enabled: true
409
+
410
+ Style/BlockComments:
411
+ Enabled: true
412
+
413
+ Style/BlockDelimiters:
414
+ Enabled: true
415
+
416
+ Style/CaseEquality:
417
+ Enabled: true
418
+
419
+ Style/CharacterLiteral:
420
+ Enabled: true
421
+
422
+ Style/ClassAndModuleChildren:
423
+ Enabled: true
424
+
425
+ Style/ClassCheck:
426
+ Enabled: true
427
+
428
+ Style/ClassMethods:
429
+ Enabled: true
430
+
431
+ Style/ClassVars:
432
+ Enabled: true
433
+
434
+ Style/ColonMethodCall:
435
+ Enabled: true
436
+
437
+ Style/CommandLiteral:
438
+ Enabled: true
439
+
440
+ Style/CommentAnnotation:
441
+ Enabled: true
442
+
443
+ Style/CommentedKeyword:
444
+ Enabled: true
445
+
446
+ Style/ConditionalAssignment:
447
+ Enabled: true
448
+
449
+ Style/DateTime:
450
+ Enabled: true
451
+
452
+ Style/DefWithParentheses:
453
+ Enabled: true
454
+
455
+ Style/Dir:
456
+ Enabled: true
457
+
458
+ Style/Documentation:
459
+ Enabled: true
460
+
461
+ Style/DoubleNegation:
462
+ Enabled: true
463
+
464
+ Style/EachWithObject:
465
+ Enabled: true
466
+
467
+ Style/EmptyBlockParameter:
468
+ Enabled: true
469
+
470
+ Style/EmptyElse:
471
+ Enabled: true
472
+
473
+ Style/EmptyLiteral:
474
+ Enabled: true
475
+
476
+ Style/EmptyMethod:
477
+ Enabled: true
478
+ EnforcedStyle: expanded
479
+
480
+ Style/EvalWithLocation:
481
+ Enabled: true
482
+
483
+ Style/EvenOdd:
484
+ Enabled: true
485
+
486
+ Style/ExpandPathArguments:
487
+ Enabled: true
488
+
489
+ Style/FloatDivision:
490
+ Enabled: true
491
+
492
+ Style/For:
493
+ Enabled: true
494
+
495
+ Style/FormatString:
496
+ Enabled: true
497
+
498
+ Style/FormatStringToken:
499
+ Enabled: true
500
+
501
+ Style/FrozenStringLiteralComment:
502
+ Enabled: true
503
+
504
+ Style/GlobalVars:
505
+ Enabled: true
506
+
507
+ Style/GuardClause:
508
+ Enabled: true
509
+
510
+ Style/HashSyntax:
511
+ Enabled: true
512
+
513
+ Style/IdenticalConditionalBranches:
514
+ Enabled: true
515
+
516
+ Style/IfInsideElse:
517
+ Enabled: true
518
+
519
+ Style/IfUnlessModifier:
520
+ Enabled: true
521
+
522
+ Style/ImplicitRuntimeError:
523
+ Enabled: true
524
+
525
+ Style/InfiniteLoop:
526
+ Enabled: true
527
+
528
+ Style/InverseMethods:
529
+ Enabled: true
530
+
531
+ Style/IpAddresses:
532
+ Enabled: true
533
+
534
+ Style/Lambda:
535
+ Enabled: true
536
+
537
+ Style/LineEndConcatenation:
538
+ Enabled: true
539
+
540
+ Style/MethodCallWithoutArgsParentheses:
541
+ Enabled: true
542
+
543
+ Style/MethodCallWithArgsParentheses:
544
+ Enabled: true
545
+
546
+ Style/MethodDefParentheses:
547
+ Enabled: true
548
+
549
+ Style/MixinUsage:
550
+ Enabled: true
551
+
552
+ Style/MutableConstant:
553
+ Enabled: true
554
+
555
+ Style/NegatedIf:
556
+ Enabled: true
557
+
558
+ Style/NegatedWhile:
559
+ Enabled: true
560
+
561
+ Style/NestedParenthesizedCalls:
562
+ Enabled: true
563
+
564
+ Style/NestedTernaryOperator:
565
+ Enabled: true
566
+
567
+ Style/Next:
568
+ Enabled: true
569
+
570
+ Style/NilComparison:
571
+ Enabled: true
572
+
573
+ Style/NonNilCheck:
574
+ Enabled: true
575
+
576
+ Style/Not:
577
+ Enabled: true
578
+
579
+ Style/NumericLiterals:
580
+ Enabled: true
581
+
582
+ Style/NumericPredicate:
583
+ Enabled: true
584
+
585
+ Style/OneLineConditional:
586
+ Enabled: true
587
+
588
+ Style/OptionalArguments:
589
+ Enabled: true
590
+
591
+ Style/OrAssignment:
592
+ Enabled: true
593
+
594
+ Style/ParallelAssignment:
595
+ Enabled: true
596
+
597
+ Style/ParenthesesAroundCondition:
598
+ Enabled: true
599
+
600
+ Style/PercentLiteralDelimiters:
601
+ Enabled: true
602
+
603
+ Style/PerlBackrefs:
604
+ Enabled: true
605
+
606
+ Style/PreferredHashMethods:
607
+ Enabled: true
608
+
609
+ Style/Proc:
610
+ Enabled: true
611
+
612
+ Style/RandomWithOffset:
613
+ Enabled: true
614
+
615
+ Style/RedundantBegin:
616
+ Enabled: true
617
+
618
+ Style/RedundantCondition:
619
+ Enabled: true
620
+
621
+ Style/RedundantConditional:
622
+ Enabled: true
623
+
624
+ Style/RedundantFreeze:
625
+ Enabled: true
626
+
627
+ Style/RedundantInterpolation:
628
+ Enabled: true
629
+
630
+ # kept false for always specifying exception class explicitly
631
+ Style/RedundantException:
632
+ Enabled: false
633
+
634
+ Style/RedundantParentheses:
635
+ Enabled: true
636
+
637
+ Style/RedundantReturn:
638
+ Enabled: true
639
+
640
+ Style/RedundantSelf:
641
+ Enabled: true
642
+
643
+ Style/RedundantSort:
644
+ Enabled: true
645
+
646
+ Style/RegexpLiteral:
647
+ Enabled: true
648
+
649
+ Style/RescueModifier:
650
+ Enabled: true
651
+
652
+ Style/RescueStandardError:
653
+ Enabled: true
654
+ EnforcedStyle: explicit
655
+
656
+ Style/SafeNavigation:
657
+ Enabled: true
658
+
659
+ Style/SelfAssignment:
660
+ Enabled: true
661
+
662
+ Style/Semicolon:
663
+ Enabled: true
664
+
665
+ Style/SignalException:
666
+ Enabled: true
667
+
668
+ Style/SingleLineMethods:
669
+ Enabled: true
670
+
671
+ Style/SpecialGlobalVars:
672
+ Enabled: true
673
+
674
+ Style/StderrPuts:
675
+ Enabled: true
676
+
677
+ Style/SymbolArray:
678
+ Enabled: true
679
+
680
+ Style/StringLiterals:
681
+ Enabled: true
682
+
683
+ Style/StringLiteralsInInterpolation:
684
+ Enabled: true
685
+
686
+ Style/SymbolLiteral:
687
+ Enabled: true
688
+
689
+ Style/SymbolProc:
690
+ Enabled: true
691
+
692
+ Style/TernaryParentheses:
693
+ Enabled: true
694
+
695
+ Style/TrailingCommaInArguments:
696
+ Enabled: true
697
+
698
+ Style/TrailingCommaInArrayLiteral:
699
+ Enabled: true
700
+
701
+ Style/TrailingCommaInHashLiteral:
702
+ Enabled: true
703
+ EnforcedStyleForMultiline: comma
704
+
705
+ Style/TrailingUnderscoreVariable:
706
+ Enabled: true
707
+
708
+ Style/TrivialAccessors:
709
+ Enabled: true
710
+
711
+ Style/UnlessElse:
712
+ Enabled: true
713
+
714
+ Style/UnpackFirst:
715
+ Enabled: true
716
+
717
+ Style/WhileUntilDo:
718
+ Enabled: true
719
+
720
+ Style/WhileUntilModifier:
721
+ Enabled: true
722
+
723
+ Style/WordArray:
724
+ Enabled: true
725
+
726
+ Style/YodaCondition:
727
+ Enabled: true
728
+
729
+ Style/ZeroLengthPredicate:
730
+ Enabled: true
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rubocop-amagi
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Cloudport Team
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-09-29 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: amagi rubocop rules
14
+ email: cloudport.team@amagi.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - rubocop.yml
20
+ homepage: https://github.com/amagimedia/rubocop-amagi
21
+ licenses:
22
+ - ''
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubygems_version: 3.2.26
40
+ signing_key:
41
+ specification_version: 4
42
+ summary: amagi rubocop rules
43
+ test_files: []