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