ratatui_ruby 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. checksums.yaml +7 -0
  2. data/.build.yml +34 -0
  3. data/.pre-commit-config.yaml +9 -0
  4. data/.rubocop.yml +8 -0
  5. data/.ruby-version +1 -0
  6. data/AGENTS.md +119 -0
  7. data/CHANGELOG.md +15 -0
  8. data/CODE_OF_CONDUCT.md +30 -0
  9. data/CONTRIBUTING.md +40 -0
  10. data/LICENSE +15 -0
  11. data/LICENSES/AGPL-3.0-or-later.txt +661 -0
  12. data/LICENSES/BSD-2-Clause.txt +9 -0
  13. data/LICENSES/CC-BY-SA-4.0.txt +427 -0
  14. data/LICENSES/CC0-1.0.txt +121 -0
  15. data/LICENSES/MIT.txt +21 -0
  16. data/README.md +86 -0
  17. data/REUSE.toml +17 -0
  18. data/Rakefile +108 -0
  19. data/docs/application_testing.md +96 -0
  20. data/docs/contributors/design/ruby_frontend.md +100 -0
  21. data/docs/contributors/design/rust_backend.md +61 -0
  22. data/docs/contributors/design.md +11 -0
  23. data/docs/contributors/index.md +16 -0
  24. data/docs/images/examples-analytics.rb.png +0 -0
  25. data/docs/images/examples-box_demo.rb.png +0 -0
  26. data/docs/images/examples-dashboard.rb.png +0 -0
  27. data/docs/images/examples-login_form.rb.png +0 -0
  28. data/docs/images/examples-map_demo.rb.png +0 -0
  29. data/docs/images/examples-mouse_events.rb.png +0 -0
  30. data/docs/images/examples-scrollbar_demo.rb.png +0 -0
  31. data/docs/images/examples-stock_ticker.rb.png +0 -0
  32. data/docs/images/examples-system_monitor.rb.png +0 -0
  33. data/docs/index.md +18 -0
  34. data/docs/quickstart.md +126 -0
  35. data/examples/analytics.rb +87 -0
  36. data/examples/box_demo.rb +71 -0
  37. data/examples/dashboard.rb +72 -0
  38. data/examples/login_form.rb +114 -0
  39. data/examples/map_demo.rb +58 -0
  40. data/examples/mouse_events.rb +95 -0
  41. data/examples/scrollbar_demo.rb +75 -0
  42. data/examples/stock_ticker.rb +85 -0
  43. data/examples/system_monitor.rb +93 -0
  44. data/examples/test_analytics.rb +65 -0
  45. data/examples/test_box_demo.rb +38 -0
  46. data/examples/test_dashboard.rb +38 -0
  47. data/examples/test_login_form.rb +63 -0
  48. data/examples/test_map_demo.rb +100 -0
  49. data/examples/test_stock_ticker.rb +39 -0
  50. data/examples/test_system_monitor.rb +40 -0
  51. data/ext/ratatui_ruby/.cargo/config.toml +8 -0
  52. data/ext/ratatui_ruby/.gitignore +4 -0
  53. data/ext/ratatui_ruby/Cargo.lock +698 -0
  54. data/ext/ratatui_ruby/Cargo.toml +16 -0
  55. data/ext/ratatui_ruby/extconf.rb +12 -0
  56. data/ext/ratatui_ruby/src/events.rs +279 -0
  57. data/ext/ratatui_ruby/src/lib.rs +105 -0
  58. data/ext/ratatui_ruby/src/rendering.rs +31 -0
  59. data/ext/ratatui_ruby/src/style.rs +149 -0
  60. data/ext/ratatui_ruby/src/terminal.rs +131 -0
  61. data/ext/ratatui_ruby/src/widgets/barchart.rs +73 -0
  62. data/ext/ratatui_ruby/src/widgets/block.rs +12 -0
  63. data/ext/ratatui_ruby/src/widgets/canvas.rs +146 -0
  64. data/ext/ratatui_ruby/src/widgets/center.rs +81 -0
  65. data/ext/ratatui_ruby/src/widgets/cursor.rs +29 -0
  66. data/ext/ratatui_ruby/src/widgets/gauge.rs +50 -0
  67. data/ext/ratatui_ruby/src/widgets/layout.rs +82 -0
  68. data/ext/ratatui_ruby/src/widgets/linechart.rs +154 -0
  69. data/ext/ratatui_ruby/src/widgets/list.rs +62 -0
  70. data/ext/ratatui_ruby/src/widgets/mod.rs +18 -0
  71. data/ext/ratatui_ruby/src/widgets/overlay.rs +20 -0
  72. data/ext/ratatui_ruby/src/widgets/paragraph.rs +56 -0
  73. data/ext/ratatui_ruby/src/widgets/scrollbar.rs +68 -0
  74. data/ext/ratatui_ruby/src/widgets/sparkline.rs +59 -0
  75. data/ext/ratatui_ruby/src/widgets/table.rs +117 -0
  76. data/ext/ratatui_ruby/src/widgets/tabs.rs +51 -0
  77. data/lib/ratatui_ruby/output.rb +7 -0
  78. data/lib/ratatui_ruby/schema/bar_chart.rb +28 -0
  79. data/lib/ratatui_ruby/schema/block.rb +23 -0
  80. data/lib/ratatui_ruby/schema/canvas.rb +62 -0
  81. data/lib/ratatui_ruby/schema/center.rb +19 -0
  82. data/lib/ratatui_ruby/schema/constraint.rb +33 -0
  83. data/lib/ratatui_ruby/schema/cursor.rb +17 -0
  84. data/lib/ratatui_ruby/schema/gauge.rb +24 -0
  85. data/lib/ratatui_ruby/schema/layout.rb +22 -0
  86. data/lib/ratatui_ruby/schema/line_chart.rb +41 -0
  87. data/lib/ratatui_ruby/schema/list.rb +22 -0
  88. data/lib/ratatui_ruby/schema/overlay.rb +15 -0
  89. data/lib/ratatui_ruby/schema/paragraph.rb +37 -0
  90. data/lib/ratatui_ruby/schema/scrollbar.rb +33 -0
  91. data/lib/ratatui_ruby/schema/sparkline.rb +24 -0
  92. data/lib/ratatui_ruby/schema/style.rb +31 -0
  93. data/lib/ratatui_ruby/schema/table.rb +24 -0
  94. data/lib/ratatui_ruby/schema/tabs.rb +22 -0
  95. data/lib/ratatui_ruby/test_helper.rb +75 -0
  96. data/lib/ratatui_ruby/version.rb +10 -0
  97. data/lib/ratatui_ruby.rb +87 -0
  98. data/sig/ratatui_ruby/ratatui_ruby.rbs +16 -0
  99. data/sig/ratatui_ruby/schema/bar_chart.rbs +14 -0
  100. data/sig/ratatui_ruby/schema/block.rbs +11 -0
  101. data/sig/ratatui_ruby/schema/canvas.rbs +62 -0
  102. data/sig/ratatui_ruby/schema/center.rbs +11 -0
  103. data/sig/ratatui_ruby/schema/constraint.rbs +13 -0
  104. data/sig/ratatui_ruby/schema/cursor.rbs +10 -0
  105. data/sig/ratatui_ruby/schema/gauge.rbs +13 -0
  106. data/sig/ratatui_ruby/schema/layout.rbs +11 -0
  107. data/sig/ratatui_ruby/schema/line_chart.rbs +20 -0
  108. data/sig/ratatui_ruby/schema/list.rbs +11 -0
  109. data/sig/ratatui_ruby/schema/overlay.rbs +9 -0
  110. data/sig/ratatui_ruby/schema/paragraph.rbs +11 -0
  111. data/sig/ratatui_ruby/schema/scrollbar.rbs +20 -0
  112. data/sig/ratatui_ruby/schema/sparkline.rbs +12 -0
  113. data/sig/ratatui_ruby/schema/style.rbs +13 -0
  114. data/sig/ratatui_ruby/schema/table.rbs +13 -0
  115. data/sig/ratatui_ruby/schema/tabs.rbs +11 -0
  116. data/sig/ratatui_ruby/test_helper.rbs +11 -0
  117. data/sig/ratatui_ruby/version.rbs +6 -0
  118. data/vendor/goodcop/base.yml +1047 -0
  119. metadata +196 -0
@@ -0,0 +1,1047 @@
1
+ # yaml-language-server: $schema=https://www.rubyschema.org/rubocop.json
2
+ # SPDX-FileCopyrightText: 2022 Joel Drapper
3
+ # SPDX-License-Identifier: MIT
4
+ ---
5
+ AllCops:
6
+ DisabledByDefault: true
7
+
8
+ Layout/ArgumentAlignment:
9
+ Enabled: true
10
+ EnforcedStyle: with_fixed_indentation
11
+
12
+ Layout/ArrayAlignment:
13
+ Enabled: true
14
+ EnforcedStyle: with_fixed_indentation
15
+
16
+ Layout/AssignmentIndentation:
17
+ Enabled: true
18
+
19
+ Layout/BeginEndAlignment:
20
+ Enabled: true
21
+ EnforcedStyleAlignWith: start_of_line
22
+
23
+ Layout/BlockAlignment:
24
+ Enabled: true
25
+ EnforcedStyleAlignWith: either
26
+
27
+ Layout/BlockEndNewline:
28
+ Enabled: true
29
+
30
+ Layout/ClosingHeredocIndentation:
31
+ Enabled: true
32
+
33
+ Layout/ClosingParenthesisIndentation:
34
+ Enabled: true
35
+
36
+ Layout/CommentIndentation:
37
+ Enabled: true
38
+ AllowForAlignment: true
39
+
40
+ Layout/ConditionPosition:
41
+ Enabled: true
42
+
43
+ Layout/DefEndAlignment:
44
+ Enabled: true
45
+ EnforcedStyleAlignWith: start_of_line
46
+
47
+ Layout/DotPosition:
48
+ Enabled: true
49
+ EnforcedStyle: leading
50
+
51
+ Layout/ElseAlignment:
52
+ Enabled: true
53
+
54
+ Layout/EmptyComment:
55
+ Enabled: true
56
+ AllowBorderComment: true
57
+ AllowMarginComment: true
58
+
59
+ Layout/EmptyLineAfterMagicComment:
60
+ Enabled: true
61
+
62
+ Layout/EmptyLineAfterMultilineCondition:
63
+ Enabled: true
64
+
65
+ Layout/EmptyLineBetweenDefs:
66
+ Enabled: true
67
+ EmptyLineBetweenMethodDefs: true
68
+ EmptyLineBetweenClassDefs: true
69
+ EmptyLineBetweenModuleDefs: true
70
+ AllowAdjacentOneLineDefs: true
71
+ NumberOfEmptyLines: 1
72
+
73
+ Layout/EmptyLines:
74
+ Enabled: true
75
+
76
+ Layout/EmptyLinesAroundAccessModifier:
77
+ Enabled: true
78
+ EnforcedStyle: around
79
+
80
+ Layout/EmptyLinesAroundArguments:
81
+ Enabled: true
82
+
83
+ Layout/EmptyLinesAroundAttributeAccessor:
84
+ Enabled: true
85
+ AllowAliasSyntax: true
86
+ AllowedMethods:
87
+ - alias_method
88
+ - public
89
+ - protected
90
+ - private
91
+
92
+ Layout/EmptyLinesAroundBeginBody:
93
+ Enabled: true
94
+
95
+ Layout/EmptyLinesAroundBlockBody:
96
+ Enabled: true
97
+
98
+ Layout/EmptyLinesAroundClassBody:
99
+ Enabled: true
100
+ EnforcedStyle: no_empty_lines
101
+
102
+ Layout/EmptyLinesAroundExceptionHandlingKeywords:
103
+ Enabled: true
104
+
105
+ Layout/EmptyLinesAroundMethodBody:
106
+ Enabled: true
107
+
108
+ Layout/EmptyLinesAroundModuleBody:
109
+ Enabled: true
110
+ EnforcedStyle: no_empty_lines
111
+
112
+ Layout/EndAlignment:
113
+ Enabled: true
114
+ EnforcedStyleAlignWith: start_of_line
115
+
116
+ Layout/EndOfLine:
117
+ Enabled: true
118
+ EnforcedStyle: native
119
+
120
+ Layout/ExtraSpacing:
121
+ Enabled: true
122
+ AllowForAlignment: true
123
+ AllowBeforeTrailingComments: false
124
+ ForceEqualSignAlignment: false
125
+
126
+ Layout/FirstArrayElementLineBreak:
127
+ Enabled: true
128
+ AllowMultilineFinalElement: false
129
+
130
+ Layout/FirstHashElementLineBreak:
131
+ Enabled: true
132
+ AllowMultilineFinalElement: false
133
+
134
+ Layout/FirstParameterIndentation:
135
+ Enabled: true
136
+ EnforcedStyle: consistent
137
+
138
+ Layout/HashAlignment:
139
+ Enabled: true
140
+ EnforcedHashRocketStyle: key
141
+ EnforcedColonStyle: key
142
+ EnforcedLastArgumentHashStyle: always_inspect
143
+
144
+ Layout/HeredocArgumentClosingParenthesis:
145
+ Enabled: true
146
+
147
+ Layout/HeredocIndentation:
148
+ Enabled: true
149
+
150
+ Layout/IndentationConsistency:
151
+ Enabled: true
152
+ EnforcedStyle: normal
153
+
154
+ Layout/IndentationStyle:
155
+ Enabled: true
156
+ EnforcedStyle: spaces
157
+
158
+ Layout/IndentationWidth:
159
+ Enabled: true
160
+ Width: 2
161
+
162
+ Layout/InitialIndentation:
163
+ Enabled: true
164
+
165
+ Layout/LeadingCommentSpace:
166
+ Enabled: true
167
+ AllowRBSInlineAnnotation: true
168
+
169
+ Layout/LeadingEmptyLines:
170
+ Enabled: true
171
+
172
+ Layout/LineContinuationSpacing:
173
+ Enabled: true
174
+ EnforcedStyle: space
175
+
176
+ Layout/LineEndStringConcatenationIndentation:
177
+ Enabled: true
178
+ EnforcedStyle: indented
179
+
180
+ Layout/MultilineArrayBraceLayout:
181
+ Enabled: true
182
+ EnforcedStyle: new_line
183
+
184
+ Layout/MultilineArrayLineBreaks:
185
+ Enabled: true
186
+ AllowMultilineFinalElement: false
187
+
188
+ Layout/MultilineAssignmentLayout:
189
+ Enabled: true
190
+ EnforcedStyle: same_line
191
+
192
+ Layout/MultilineBlockLayout:
193
+ Enabled: true
194
+
195
+ Layout/MultilineHashBraceLayout:
196
+ Enabled: true
197
+ EnforcedStyle: new_line
198
+
199
+ Layout/MultilineHashKeyLineBreaks:
200
+ Enabled: true
201
+ AllowMultilineFinalElement: false
202
+
203
+ Layout/MultilineMethodCallIndentation:
204
+ Enabled: true
205
+ EnforcedStyle: indented
206
+
207
+ Layout/MultilineMethodDefinitionBraceLayout:
208
+ Enabled: true
209
+ EnforcedStyle: new_line
210
+
211
+ Layout/MultilineOperationIndentation:
212
+ Enabled: true
213
+ EnforcedStyle: indented
214
+
215
+ Layout/ParameterAlignment:
216
+ Enabled: true
217
+ EnforcedStyle: with_fixed_indentation
218
+
219
+ Layout/RescueEnsureAlignment:
220
+ Enabled: true
221
+
222
+ Layout/SpaceAfterColon:
223
+ Enabled: true
224
+
225
+ Layout/SpaceAfterComma:
226
+ Enabled: true
227
+
228
+ Layout/SpaceAfterMethodName:
229
+ Enabled: true
230
+
231
+ Layout/SpaceAfterNot:
232
+ Enabled: true
233
+
234
+ Layout/SpaceAfterSemicolon:
235
+ Enabled: true
236
+
237
+ Layout/SpaceAroundBlockParameters:
238
+ Enabled: true
239
+ EnforcedStyleInsidePipes: no_space
240
+
241
+ Layout/SpaceAroundEqualsInParameterDefault:
242
+ Enabled: true
243
+ EnforcedStyle: space
244
+
245
+ Layout/SpaceAroundKeyword:
246
+ Enabled: true
247
+
248
+ Layout/SpaceAroundMethodCallOperator:
249
+ Enabled: true
250
+
251
+ Layout/SpaceAroundOperators:
252
+ Enabled: true
253
+ AllowForAlignment: false
254
+ EnforcedStyleForExponentOperator: space
255
+ EnforcedStyleForRationalLiterals: space
256
+
257
+ Layout/SpaceBeforeBlockBraces:
258
+ Enabled: true
259
+ EnforcedStyle: space
260
+ EnforcedStyleForEmptyBraces: space
261
+
262
+ Layout/SpaceBeforeBrackets:
263
+ Enabled: true
264
+
265
+ Layout/SpaceBeforeComma:
266
+ Enabled: true
267
+
268
+ Layout/SpaceBeforeComment:
269
+ Enabled: true
270
+
271
+ Layout/SpaceBeforeFirstArg:
272
+ Enabled: true
273
+
274
+ Layout/SpaceBeforeSemicolon:
275
+ Enabled: true
276
+
277
+ Layout/SpaceInLambdaLiteral:
278
+ Enabled: true
279
+ EnforcedStyle: require_space
280
+
281
+ Layout/SpaceInsideArrayLiteralBrackets:
282
+ Enabled: true
283
+ EnforcedStyle: no_space
284
+
285
+ Layout/SpaceInsideArrayPercentLiteral:
286
+ Enabled: true
287
+
288
+ Layout/SpaceInsideBlockBraces:
289
+ Enabled: true
290
+ EnforcedStyle: space
291
+ EnforcedStyleForEmptyBraces: no_space
292
+ SpaceBeforeBlockParameters: true
293
+
294
+ Layout/SpaceInsideHashLiteralBraces:
295
+ Enabled: true
296
+ EnforcedStyle: space
297
+ EnforcedStyleForEmptyBraces: no_space
298
+
299
+ Layout/SpaceInsideParens:
300
+ Enabled: true
301
+ EnforcedStyle: no_space
302
+
303
+ Layout/SpaceInsidePercentLiteralDelimiters:
304
+ Enabled: true
305
+
306
+ Layout/SpaceInsideRangeLiteral:
307
+ Enabled: true
308
+
309
+ Layout/SpaceInsideReferenceBrackets:
310
+ Enabled: true
311
+ EnforcedStyle: no_space
312
+ EnforcedStyleForEmptyBrackets: no_space
313
+
314
+ Layout/SpaceInsideStringInterpolation:
315
+ Enabled: true
316
+ EnforcedStyle: no_space
317
+
318
+ Layout/TrailingEmptyLines:
319
+ Enabled: true
320
+ EnforcedStyle: final_newline
321
+
322
+ Layout/TrailingWhitespace:
323
+ Enabled: true
324
+ AllowInHeredoc: true
325
+
326
+ Lint/AmbiguousAssignment:
327
+ Enabled: true
328
+
329
+ Lint/AmbiguousOperator:
330
+ Enabled: true
331
+
332
+ Lint/AmbiguousOperatorPrecedence:
333
+ Enabled: true
334
+
335
+ Lint/AmbiguousRange:
336
+ Enabled: true
337
+ RequireParenthesesForMethodChains: true
338
+
339
+ Lint/AmbiguousRegexpLiteral:
340
+ Enabled: true
341
+
342
+ Lint/AssignmentInCondition:
343
+ Enabled: true
344
+ AllowSafeAssignment: true
345
+
346
+ Lint/BigDecimalNew:
347
+ Enabled: true
348
+
349
+ Lint/CircularArgumentReference:
350
+ Enabled: true
351
+
352
+ Lint/ConstantDefinitionInBlock:
353
+ Enabled: true
354
+
355
+ Lint/ConstantOverwrittenInRescue:
356
+ Enabled: true
357
+
358
+ Lint/Debugger:
359
+ Enabled: true
360
+
361
+ Lint/DeprecatedClassMethods:
362
+ Enabled: true
363
+
364
+ Lint/DeprecatedConstants:
365
+ Enabled: true
366
+
367
+ Lint/DeprecatedOpenSSLConstant:
368
+ Enabled: true
369
+
370
+ Lint/DisjunctiveAssignmentInConstructor:
371
+ Enabled: true
372
+
373
+ Lint/DuplicateCaseCondition:
374
+ Enabled: true
375
+
376
+ Lint/DuplicateHashKey:
377
+ Enabled: true
378
+
379
+ Lint/DuplicateMagicComment:
380
+ Enabled: true
381
+
382
+ Lint/DuplicateMatchPattern:
383
+ Enabled: true
384
+
385
+ Lint/DuplicateMethods:
386
+ Enabled: true
387
+
388
+ Lint/DuplicateRegexpCharacterClassElement:
389
+ Enabled: true
390
+
391
+ Lint/DuplicateRequire:
392
+ Enabled: true
393
+
394
+ Lint/DuplicateRescueException:
395
+ Enabled: true
396
+
397
+ Lint/EachWithObjectArgument:
398
+ Enabled: true
399
+
400
+ Lint/ElseLayout:
401
+ Enabled: true
402
+
403
+ Lint/EmptyBlock:
404
+ Enabled: true
405
+ AllowComments: true
406
+ AllowEmptyLambdas: true
407
+
408
+ Lint/EmptyConditionalBody:
409
+ Enabled: true
410
+ AllowComments: true
411
+
412
+ Lint/EmptyEnsure:
413
+ Enabled: true
414
+
415
+ Lint/EmptyExpression:
416
+ Enabled: true
417
+
418
+ Lint/EmptyFile:
419
+ Enabled: true
420
+ AllowComments: true
421
+
422
+ Lint/EmptyInPattern:
423
+ Enabled: true
424
+ AllowComments: true
425
+
426
+ Lint/EmptyInterpolation:
427
+ Enabled: true
428
+
429
+ Lint/EnsureReturn:
430
+ Enabled: true
431
+
432
+ Lint/ErbNewArguments:
433
+ Enabled: true
434
+
435
+ Lint/FlipFlop:
436
+ Enabled: true
437
+
438
+ Lint/FloatComparison:
439
+ Enabled: true
440
+
441
+ Lint/FloatOutOfRange:
442
+ Enabled: true
443
+
444
+ Lint/FormatParameterMismatch:
445
+ Enabled: true
446
+
447
+ Lint/HashCompareByIdentity:
448
+ Enabled: true
449
+
450
+ Lint/HeredocMethodCallPosition:
451
+ Enabled: true
452
+
453
+ Lint/IdentityComparison:
454
+ Enabled: true
455
+
456
+ Lint/ImplicitStringConcatenation:
457
+ Enabled: true
458
+
459
+ Lint/IncompatibleIoSelectWithFiberScheduler:
460
+ Enabled: true
461
+
462
+ Lint/IneffectiveAccessModifier:
463
+ Enabled: true
464
+
465
+ Lint/InheritException:
466
+ Enabled: true
467
+
468
+ Lint/InterpolationCheck:
469
+ Enabled: true
470
+
471
+ Lint/ItWithoutArgumentsInBlock:
472
+ Enabled: true
473
+
474
+ Lint/LambdaWithoutLiteralBlock:
475
+ Enabled: true
476
+
477
+ Lint/LiteralAssignmentInCondition:
478
+ Enabled: true
479
+
480
+ Lint/LiteralInInterpolation:
481
+ Enabled: true
482
+
483
+ Lint/MissingCopEnableDirective:
484
+ Enabled: true
485
+
486
+ Lint/MultipleComparison:
487
+ Enabled: true
488
+
489
+ Lint/NestedPercentLiteral:
490
+ Enabled: true
491
+
492
+ Lint/NextWithoutAccumulator:
493
+ Enabled: true
494
+
495
+ Lint/NoReturnInBeginEndBlocks:
496
+ Enabled: true
497
+
498
+ Lint/NonAtomicFileOperation:
499
+ Enabled: true
500
+
501
+ Lint/NonDeterministicRequireOrder:
502
+ Enabled: true
503
+
504
+ Lint/NonLocalExitFromIterator:
505
+ Enabled: true
506
+
507
+ Lint/NumberedParameterAssignment:
508
+ Enabled: true
509
+
510
+ Lint/OrAssignmentToConstant:
511
+ Enabled: true
512
+
513
+ Lint/OrderedMagicComments:
514
+ Enabled: true
515
+
516
+ Lint/OutOfRangeRegexpRef:
517
+ Enabled: true
518
+
519
+ Lint/ParenthesesAsGroupedExpression:
520
+ Enabled: true
521
+
522
+ Lint/RaiseException:
523
+ Enabled: true
524
+
525
+ Lint/RandOne:
526
+ Enabled: true
527
+
528
+ Lint/RedundantCopDisableDirective:
529
+ Enabled: true
530
+
531
+ Lint/RedundantCopEnableDirective:
532
+ Enabled: true
533
+
534
+ Lint/RedundantDirGlobSort:
535
+ Enabled: true
536
+
537
+ Lint/RedundantRegexpQuantifiers:
538
+ Enabled: true
539
+
540
+ Lint/RedundantRequireStatement:
541
+ Enabled: true
542
+
543
+ Lint/RedundantSafeNavigation:
544
+ Enabled: true
545
+
546
+ Lint/RedundantSplatExpansion:
547
+ Enabled: true
548
+ AllowPercentLiteralArrayArgument: true
549
+
550
+ Lint/RedundantStringCoercion:
551
+ Enabled: true
552
+
553
+ Lint/RedundantWithIndex:
554
+ Enabled: true
555
+
556
+ Lint/RedundantWithObject:
557
+ Enabled: true
558
+
559
+ Lint/RefinementImportMethods:
560
+ Enabled: true
561
+
562
+ Lint/RegexpAsCondition:
563
+ Enabled: true
564
+
565
+ Lint/RequireParentheses:
566
+ Enabled: true
567
+
568
+ Lint/RequireRangeParentheses:
569
+ Enabled: true
570
+
571
+ Lint/RequireRelativeSelfPath:
572
+ Enabled: true
573
+
574
+ Lint/RescueType:
575
+ Enabled: true
576
+
577
+ Lint/ReturnInVoidContext:
578
+ Enabled: true
579
+
580
+ Lint/SafeNavigationChain:
581
+ Enabled: true
582
+
583
+ Lint/SafeNavigationConsistency:
584
+ Enabled: true
585
+
586
+ Lint/SafeNavigationWithEmpty:
587
+ Enabled: true
588
+
589
+ Lint/ScriptPermission:
590
+ Enabled: true
591
+
592
+ Lint/SelfAssignment:
593
+ Enabled: true
594
+
595
+ Lint/SendWithMixinArgument:
596
+ Enabled: true
597
+
598
+ Lint/ShadowedException:
599
+ Enabled: true
600
+
601
+ Lint/StructNewOverride:
602
+ Enabled: true
603
+
604
+ Lint/SuppressedException:
605
+ Enabled: true
606
+ AllowNil: true
607
+ AllowComments: true
608
+
609
+ Lint/SymbolConversion:
610
+ Enabled: true
611
+ EnforcedStyle: strict
612
+
613
+ Lint/Syntax:
614
+ Enabled: true
615
+
616
+ Lint/ToEnumArguments:
617
+ Enabled: true
618
+
619
+ Lint/ToJSON:
620
+ Enabled: true
621
+
622
+ Lint/TopLevelReturnWithArgument:
623
+ Enabled: true
624
+
625
+ Lint/TrailingCommaInAttributeDeclaration:
626
+ Enabled: true
627
+
628
+ Lint/TripleQuotes:
629
+ Enabled: true
630
+
631
+ Lint/UnderscorePrefixedVariableName:
632
+ Enabled: true
633
+
634
+ Lint/UnexpectedBlockArity:
635
+ Enabled: true
636
+
637
+ Lint/UnifiedInteger:
638
+ Enabled: true
639
+
640
+ Lint/UnmodifiedReduceAccumulator:
641
+ Enabled: true
642
+
643
+ Lint/UnreachableCode:
644
+ Enabled: true
645
+
646
+ Lint/UriEscapeUnescape:
647
+ Enabled: true
648
+
649
+ Lint/UriRegexp:
650
+ Enabled: true
651
+
652
+ Lint/UselessAccessModifier:
653
+ Enabled: true
654
+
655
+ Lint/UselessElseWithoutRescue:
656
+ Enabled: true
657
+
658
+ Lint/UselessMethodDefinition:
659
+ Enabled: true
660
+
661
+ Lint/UselessRescue:
662
+ Enabled: true
663
+
664
+ Lint/UselessRuby2Keywords:
665
+ Enabled: true
666
+
667
+ Lint/UselessSetterCall:
668
+ Enabled: true
669
+
670
+ Lint/UselessTimes:
671
+ Enabled: true
672
+
673
+ Migration/DepartmentName:
674
+ Enabled: true
675
+
676
+ Security/CompoundHash:
677
+ Enabled: true
678
+
679
+ Security/IoMethods:
680
+ Enabled: true
681
+
682
+ Security/JSONLoad:
683
+ Enabled: true
684
+
685
+ Security/Open:
686
+ Enabled: true
687
+
688
+ Security/YAMLLoad:
689
+ Enabled: true
690
+
691
+ Style/ArgumentsForwarding:
692
+ Enabled: true
693
+
694
+ Style/AccessModifierDeclarations:
695
+ Enabled: true
696
+ EnforcedStyle: inline
697
+
698
+ Style/ComparableClamp:
699
+ Enabled: true
700
+
701
+ Style/DefWithParentheses:
702
+ Enabled: true
703
+
704
+ Style/Dir:
705
+ Enabled: true
706
+
707
+ Style/DirEmpty:
708
+ Enabled: true
709
+
710
+ Style/EachForSimpleLoop:
711
+ Enabled: true
712
+
713
+ Style/EachWithObject:
714
+ Enabled: true
715
+
716
+ Style/EmptyBlockParameter:
717
+ Enabled: true
718
+
719
+ Style/EmptyElse:
720
+ Enabled: true
721
+ EnforcedStyle: empty
722
+
723
+ Style/EmptyHeredoc:
724
+ Enabled: true
725
+
726
+ Style/EmptyLambdaParameter:
727
+ Enabled: true
728
+
729
+ Style/EnvHome:
730
+ Enabled: true
731
+
732
+ Style/ExactRegexpMatch:
733
+ Enabled: true
734
+
735
+ Style/ExpandPathArguments:
736
+ Enabled: true
737
+
738
+ Style/FrozenStringLiteralComment:
739
+ Enabled: true
740
+ EnforcedStyle: always
741
+ SafeAutoCorrect: true
742
+
743
+ Style/HashExcept:
744
+ Enabled: true
745
+
746
+ Style/HashLikeCase:
747
+ Enabled: true
748
+
749
+ Style/HashSyntax:
750
+ Enabled: true
751
+ EnforcedStyle: no_mixed_keys
752
+ EnforcedShorthandSyntax: always
753
+
754
+ Style/HashTransformKeys:
755
+ Enabled: true
756
+
757
+ Style/IfWithSemicolon:
758
+ Enabled: true
759
+
760
+ Style/InPatternThen:
761
+ Enabled: true
762
+
763
+ Style/MagicCommentFormat:
764
+ Enabled: true
765
+
766
+ Style/MapCompactWithConditionalBlock:
767
+ Enabled: true
768
+
769
+ Style/MapToHash:
770
+ Enabled: true
771
+
772
+ Style/MapToSet:
773
+ Enabled: true
774
+
775
+ Style/MethodCallWithoutArgsParentheses:
776
+ Enabled: true
777
+
778
+ Style/MethodDefParentheses:
779
+ Enabled: true
780
+ EnforcedStyle: require_parentheses
781
+
782
+ Style/ModuleFunction:
783
+ Enabled: true
784
+ EnforcedStyle: extend_self
785
+
786
+ Style/MultilineIfModifier:
787
+ Enabled: true
788
+
789
+ Style/NegatedUnless:
790
+ Enabled: true
791
+
792
+ Style/NegatedWhile:
793
+ Enabled: true
794
+
795
+ Style/NumberedParameters:
796
+ Enabled: true
797
+ EnforcedStyle: disallow
798
+
799
+ Style/NumericLiteralPrefix:
800
+ Enabled: true
801
+ EnforcedOctalStyle: zero_with_o
802
+
803
+ Style/ObjectThen:
804
+ Enabled: true
805
+ EnforcedStyle: then
806
+
807
+ Style/OperatorMethodCall:
808
+ Enabled: true
809
+
810
+ Style/OrAssignment:
811
+ Enabled: true
812
+
813
+ Style/PreferredHashMethods:
814
+ Enabled: true
815
+ EnforcedStyle: short
816
+
817
+ Style/Proc:
818
+ Enabled: true
819
+
820
+ Style/QuotedSymbols:
821
+ Enabled: true
822
+ EnforcedStyle: same_as_string_literals
823
+
824
+ Style/RandomWithOffset:
825
+ Enabled: true
826
+
827
+ Style/RedundantArrayConstructor:
828
+ Enabled: true
829
+
830
+ Style/RedundantAssignment:
831
+ Enabled: true
832
+
833
+ Style/RedundantBegin:
834
+ Enabled: true
835
+
836
+ Style/RedundantCondition:
837
+ Enabled: true
838
+
839
+ Style/RedundantConditional:
840
+ Enabled: true
841
+
842
+ Style/RedundantCurrentDirectoryInPath:
843
+ Enabled: true
844
+
845
+ Style/RedundantDoubleSplatHashBraces:
846
+ Enabled: true
847
+
848
+ Style/RedundantEach:
849
+ Enabled: true
850
+
851
+ Style/RedundantException:
852
+ Enabled: true
853
+
854
+ Style/RedundantFileExtensionInRequire:
855
+ Enabled: true
856
+
857
+ Style/RedundantFilterChain:
858
+ Enabled: true
859
+
860
+ Style/RedundantFreeze:
861
+ Enabled: true
862
+
863
+ Style/RedundantHeredocDelimiterQuotes:
864
+ Enabled: true
865
+
866
+ Style/RedundantInitialize:
867
+ Enabled: true
868
+ AllowComments: true
869
+
870
+ Style/RedundantInterpolation:
871
+ Enabled: true
872
+
873
+ Style/RedundantLineContinuation:
874
+ Enabled: true
875
+
876
+ Style/RedundantRegexpArgument:
877
+ Enabled: true
878
+
879
+ Style/RedundantRegexpCharacterClass:
880
+ Enabled: true
881
+
882
+ Style/RedundantRegexpConstructor:
883
+ Enabled: true
884
+
885
+ Style/RedundantRegexpEscape:
886
+ Enabled: true
887
+
888
+ Style/RedundantReturn:
889
+ Enabled: true
890
+ AllowMultipleReturnValues: true
891
+
892
+ Style/RedundantSelf:
893
+ Enabled: true
894
+
895
+ Style/RedundantSelfAssignmentBranch:
896
+ Enabled: true
897
+
898
+ Style/RedundantSort:
899
+ Enabled: true
900
+
901
+ Style/RedundantSortBy:
902
+ Enabled: true
903
+
904
+ Style/RedundantStringEscape:
905
+ Enabled: true
906
+
907
+ Style/RegexpLiteral:
908
+ Enabled: true
909
+ EnforcedStyle: slashes
910
+ AllowInnerSlashes: false
911
+
912
+ Style/RescueModifier:
913
+ Enabled: true
914
+
915
+ Style/RescueStandardError:
916
+ Enabled: true
917
+ EnforcedStyle: implicit
918
+
919
+ Style/SafeNavigation:
920
+ Enabled: true
921
+
922
+ Style/Sample:
923
+ Enabled: true
924
+
925
+ Style/SelfAssignment:
926
+ Enabled: true
927
+
928
+ Style/Semicolon:
929
+ Enabled: true
930
+ AllowAsExpressionSeparator: true
931
+
932
+ Style/Send:
933
+ Enabled: true
934
+
935
+ Style/SendWithLiteralMethodName:
936
+ Enabled: true
937
+ AllowSend: true
938
+
939
+ Style/SignalException:
940
+ Enabled: true
941
+ EnforcedStyle: only_raise
942
+
943
+ Style/SingleArgumentDig:
944
+ Enabled: true
945
+
946
+ Style/SingleLineDoEndBlock:
947
+ Enabled: true
948
+
949
+ Style/SoleNestedConditional:
950
+ Enabled: true
951
+ AllowModifier: false
952
+
953
+ Style/StabbyLambdaParentheses:
954
+ Enabled: true
955
+ EnforcedStyle: require_parentheses
956
+
957
+ Style/StderrPuts:
958
+ Enabled: true
959
+
960
+ Style/StringChars:
961
+ Enabled: true
962
+
963
+ Style/StringConcatenation:
964
+ Enabled: true
965
+ Mode: aggressive
966
+
967
+ Style/StringLiterals:
968
+ Enabled: true
969
+ EnforcedStyle: double_quotes
970
+
971
+ Style/StringLiteralsInInterpolation:
972
+ Enabled: true
973
+ EnforcedStyle: single_quotes
974
+
975
+ Style/Strip:
976
+ Enabled: true
977
+
978
+ Style/SuperArguments:
979
+ Enabled: true
980
+
981
+ Style/SuperWithArgsParentheses:
982
+ Enabled: true
983
+
984
+ Style/SwapValues:
985
+ Enabled: true
986
+
987
+ Style/SymbolLiteral:
988
+ Enabled: true
989
+
990
+ Style/SymbolProc:
991
+ Enabled: true
992
+ AllowMethodsWithArguments: false
993
+ AllowComments: true
994
+
995
+ Style/TernaryParentheses:
996
+ Enabled: true
997
+ EnforcedStyle: require_parentheses_when_complex
998
+ AllowSafeAssignment: true
999
+
1000
+ Style/TrailingBodyOnClass:
1001
+ Enabled: true
1002
+
1003
+ Style/TrailingBodyOnMethodDefinition:
1004
+ Enabled: true
1005
+
1006
+ Style/TrailingBodyOnModule:
1007
+ Enabled: true
1008
+
1009
+ Style/TrailingCommaInArrayLiteral:
1010
+ Enabled: true
1011
+ EnforcedStyleForMultiline: comma
1012
+
1013
+ Style/TrailingCommaInBlockArgs:
1014
+ Enabled: true
1015
+
1016
+ Style/TrailingCommaInHashLiteral:
1017
+ Enabled: true
1018
+ EnforcedStyleForMultiline: comma
1019
+
1020
+ Style/TrailingMethodEndStatement:
1021
+ Enabled: true
1022
+
1023
+ Style/TrailingUnderscoreVariable:
1024
+ Enabled: true
1025
+ AllowNamedUnderscoreVariables: true
1026
+
1027
+ Style/UnlessElse:
1028
+ Enabled: true
1029
+
1030
+ Style/UnlessLogicalOperators:
1031
+ Enabled: true
1032
+ EnforcedStyle: forbid_mixed_logical_operators
1033
+
1034
+ Style/UnpackFirst:
1035
+ Enabled: true
1036
+
1037
+ Style/VariableInterpolation:
1038
+ Enabled: true
1039
+
1040
+ Style/WhenThen:
1041
+ Enabled: true
1042
+
1043
+ Style/WhileUntilDo:
1044
+ Enabled: true
1045
+
1046
+ Style/YAMLFileRead:
1047
+ Enabled: true