@yuu1111/quality-check 1.0.0 → 4.0.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.
package/schema.json ADDED
@@ -0,0 +1,688 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "additionalProperties": false,
4
+ "description": "quality-checkの設定 file",
5
+ "properties": {
6
+ "$schema": {
7
+ "type": "string"
8
+ },
9
+ "baseline": {
10
+ "anyOf": [
11
+ {
12
+ "minLength": 1,
13
+ "type": "string"
14
+ },
15
+ {
16
+ "const": false
17
+ }
18
+ ]
19
+ },
20
+ "failOnWarnings": {
21
+ "type": "boolean"
22
+ },
23
+ "biome": {
24
+ "additionalProperties": false,
25
+ "properties": {
26
+ "enabled": {
27
+ "type": "boolean"
28
+ },
29
+ "args": {
30
+ "items": {
31
+ "minLength": 1,
32
+ "type": "string"
33
+ },
34
+ "type": "array"
35
+ },
36
+ "targets": {
37
+ "items": {
38
+ "minLength": 1,
39
+ "type": "string"
40
+ },
41
+ "type": "array"
42
+ }
43
+ },
44
+ "type": "object"
45
+ },
46
+ "typecheck": {
47
+ "additionalProperties": false,
48
+ "properties": {
49
+ "enabled": {
50
+ "type": "boolean"
51
+ },
52
+ "args": {
53
+ "items": {
54
+ "minLength": 1,
55
+ "type": "string"
56
+ },
57
+ "type": "array"
58
+ },
59
+ "projects": {
60
+ "items": {
61
+ "minLength": 1,
62
+ "type": "string"
63
+ },
64
+ "type": "array"
65
+ }
66
+ },
67
+ "type": "object"
68
+ },
69
+ "knip": {
70
+ "additionalProperties": false,
71
+ "properties": {
72
+ "enabled": {
73
+ "type": "boolean"
74
+ },
75
+ "args": {
76
+ "items": {
77
+ "minLength": 1,
78
+ "type": "string"
79
+ },
80
+ "type": "array"
81
+ }
82
+ },
83
+ "type": "object"
84
+ },
85
+ "code-style-check": {
86
+ "additionalProperties": false,
87
+ "properties": {
88
+ "enabled": {
89
+ "type": "boolean"
90
+ },
91
+ "targets": {
92
+ "items": {
93
+ "minLength": 1,
94
+ "type": "string"
95
+ },
96
+ "type": "array"
97
+ },
98
+ "ignore": {
99
+ "items": {
100
+ "minLength": 1,
101
+ "type": "string"
102
+ },
103
+ "type": "array"
104
+ },
105
+ "rules": {
106
+ "additionalProperties": false,
107
+ "properties": {
108
+ "preset": {
109
+ "enum": [
110
+ "recommended",
111
+ "all",
112
+ "none"
113
+ ],
114
+ "type": "string"
115
+ },
116
+ "spacing": {
117
+ "anyOf": [
118
+ {
119
+ "enum": [
120
+ "off",
121
+ "on"
122
+ ],
123
+ "type": "string"
124
+ },
125
+ {
126
+ "additionalProperties": false,
127
+ "properties": {
128
+ "blank-line-between-class-members": {
129
+ "enum": [
130
+ "off",
131
+ "on"
132
+ ],
133
+ "type": "string"
134
+ },
135
+ "blank-line-between-definitions": {
136
+ "enum": [
137
+ "off",
138
+ "on"
139
+ ],
140
+ "type": "string"
141
+ }
142
+ },
143
+ "type": "object"
144
+ }
145
+ ]
146
+ }
147
+ },
148
+ "type": "object"
149
+ }
150
+ },
151
+ "type": "object"
152
+ },
153
+ "comment-check": {
154
+ "additionalProperties": false,
155
+ "properties": {
156
+ "enabled": {
157
+ "type": "boolean"
158
+ },
159
+ "targets": {
160
+ "items": {
161
+ "minLength": 1,
162
+ "type": "string"
163
+ },
164
+ "type": "array"
165
+ },
166
+ "ignore": {
167
+ "items": {
168
+ "minLength": 1,
169
+ "type": "string"
170
+ },
171
+ "type": "array"
172
+ },
173
+ "rules": {
174
+ "additionalProperties": false,
175
+ "properties": {
176
+ "preset": {
177
+ "enum": [
178
+ "recommended",
179
+ "all",
180
+ "none"
181
+ ],
182
+ "type": "string"
183
+ },
184
+ "suppression": {
185
+ "anyOf": [
186
+ {
187
+ "enum": [
188
+ "off",
189
+ "on"
190
+ ],
191
+ "type": "string"
192
+ },
193
+ {
194
+ "additionalProperties": false,
195
+ "properties": {
196
+ "broad-suppression": {
197
+ "enum": [
198
+ "off",
199
+ "on"
200
+ ],
201
+ "type": "string"
202
+ },
203
+ "undocumented-directive": {
204
+ "enum": [
205
+ "off",
206
+ "on"
207
+ ],
208
+ "type": "string"
209
+ }
210
+ },
211
+ "type": "object"
212
+ }
213
+ ]
214
+ },
215
+ "shape": {
216
+ "anyOf": [
217
+ {
218
+ "enum": [
219
+ "off",
220
+ "on"
221
+ ],
222
+ "type": "string"
223
+ },
224
+ {
225
+ "additionalProperties": false,
226
+ "properties": {
227
+ "cramped-comment": {
228
+ "enum": [
229
+ "off",
230
+ "on"
231
+ ],
232
+ "type": "string"
233
+ },
234
+ "separator-comment": {
235
+ "enum": [
236
+ "off",
237
+ "on"
238
+ ],
239
+ "type": "string"
240
+ }
241
+ },
242
+ "type": "object"
243
+ }
244
+ ]
245
+ },
246
+ "content": {
247
+ "anyOf": [
248
+ {
249
+ "enum": [
250
+ "off",
251
+ "on"
252
+ ],
253
+ "type": "string"
254
+ },
255
+ {
256
+ "additionalProperties": false,
257
+ "properties": {
258
+ "placeholder-comment": {
259
+ "enum": [
260
+ "off",
261
+ "on"
262
+ ],
263
+ "type": "string"
264
+ },
265
+ "japanese-period": {
266
+ "enum": [
267
+ "off",
268
+ "on"
269
+ ],
270
+ "type": "string"
271
+ }
272
+ },
273
+ "type": "object"
274
+ }
275
+ ]
276
+ }
277
+ },
278
+ "type": "object"
279
+ }
280
+ },
281
+ "type": "object"
282
+ },
283
+ "document-style-check": {
284
+ "additionalProperties": false,
285
+ "properties": {
286
+ "enabled": {
287
+ "type": "boolean"
288
+ },
289
+ "targets": {
290
+ "items": {
291
+ "minLength": 1,
292
+ "type": "string"
293
+ },
294
+ "type": "array"
295
+ },
296
+ "ignore": {
297
+ "items": {
298
+ "minLength": 1,
299
+ "type": "string"
300
+ },
301
+ "type": "array"
302
+ },
303
+ "rules": {
304
+ "additionalProperties": false,
305
+ "properties": {
306
+ "preset": {
307
+ "enum": [
308
+ "recommended",
309
+ "all",
310
+ "none"
311
+ ],
312
+ "type": "string"
313
+ },
314
+ "whitespace": {
315
+ "anyOf": [
316
+ {
317
+ "enum": [
318
+ "off",
319
+ "on"
320
+ ],
321
+ "type": "string"
322
+ },
323
+ {
324
+ "additionalProperties": false,
325
+ "properties": {
326
+ "consecutive-blank-lines": {
327
+ "enum": [
328
+ "off",
329
+ "on"
330
+ ],
331
+ "type": "string"
332
+ },
333
+ "hard-break-html": {
334
+ "enum": [
335
+ "off",
336
+ "on"
337
+ ],
338
+ "type": "string"
339
+ },
340
+ "trailing-backslash": {
341
+ "enum": [
342
+ "off",
343
+ "on"
344
+ ],
345
+ "type": "string"
346
+ },
347
+ "trailing-whitespace": {
348
+ "enum": [
349
+ "off",
350
+ "on"
351
+ ],
352
+ "type": "string"
353
+ }
354
+ },
355
+ "type": "object"
356
+ }
357
+ ]
358
+ },
359
+ "typography": {
360
+ "anyOf": [
361
+ {
362
+ "enum": [
363
+ "off",
364
+ "on"
365
+ ],
366
+ "type": "string"
367
+ },
368
+ {
369
+ "additionalProperties": false,
370
+ "properties": {
371
+ "full-width-alphanumeric": {
372
+ "enum": [
373
+ "off",
374
+ "on"
375
+ ],
376
+ "type": "string"
377
+ },
378
+ "japanese-comma": {
379
+ "enum": [
380
+ "off",
381
+ "on"
382
+ ],
383
+ "type": "string"
384
+ },
385
+ "japanese-period": {
386
+ "enum": [
387
+ "off",
388
+ "on"
389
+ ],
390
+ "type": "string"
391
+ }
392
+ },
393
+ "type": "object"
394
+ }
395
+ ]
396
+ },
397
+ "structure": {
398
+ "anyOf": [
399
+ {
400
+ "enum": [
401
+ "off",
402
+ "on"
403
+ ],
404
+ "type": "string"
405
+ },
406
+ {
407
+ "additionalProperties": false,
408
+ "properties": {
409
+ "code-fence-language": {
410
+ "enum": [
411
+ "off",
412
+ "on"
413
+ ],
414
+ "type": "string"
415
+ },
416
+ "heading-level-jump": {
417
+ "enum": [
418
+ "off",
419
+ "on"
420
+ ],
421
+ "type": "string"
422
+ },
423
+ "list-marker-consistency": {
424
+ "enum": [
425
+ "off",
426
+ "on"
427
+ ],
428
+ "type": "string"
429
+ }
430
+ },
431
+ "type": "object"
432
+ }
433
+ ]
434
+ },
435
+ "content": {
436
+ "anyOf": [
437
+ {
438
+ "enum": [
439
+ "off",
440
+ "on"
441
+ ],
442
+ "type": "string"
443
+ },
444
+ {
445
+ "additionalProperties": false,
446
+ "properties": {
447
+ "date-anchored-statement": {
448
+ "enum": [
449
+ "off",
450
+ "on"
451
+ ],
452
+ "type": "string"
453
+ },
454
+ "empty-link": {
455
+ "enum": [
456
+ "off",
457
+ "on"
458
+ ],
459
+ "type": "string"
460
+ }
461
+ },
462
+ "type": "object"
463
+ }
464
+ ]
465
+ }
466
+ },
467
+ "type": "object"
468
+ }
469
+ },
470
+ "type": "object"
471
+ },
472
+ "tsdoc-check": {
473
+ "additionalProperties": false,
474
+ "properties": {
475
+ "enabled": {
476
+ "type": "boolean"
477
+ },
478
+ "targets": {
479
+ "items": {
480
+ "minLength": 1,
481
+ "type": "string"
482
+ },
483
+ "type": "array"
484
+ },
485
+ "ignore": {
486
+ "items": {
487
+ "minLength": 1,
488
+ "type": "string"
489
+ },
490
+ "type": "array"
491
+ },
492
+ "rules": {
493
+ "additionalProperties": false,
494
+ "properties": {
495
+ "preset": {
496
+ "enum": [
497
+ "recommended",
498
+ "all",
499
+ "none"
500
+ ],
501
+ "type": "string"
502
+ },
503
+ "syntax": {
504
+ "anyOf": [
505
+ {
506
+ "enum": [
507
+ "off",
508
+ "on",
509
+ "error"
510
+ ],
511
+ "type": "string"
512
+ },
513
+ {
514
+ "additionalProperties": false,
515
+ "properties": {
516
+ "single-line-doc": {
517
+ "enum": [
518
+ "off",
519
+ "on",
520
+ "error"
521
+ ],
522
+ "type": "string"
523
+ },
524
+ "tsdoc-syntax": {
525
+ "enum": [
526
+ "off",
527
+ "on",
528
+ "error"
529
+ ],
530
+ "type": "string"
531
+ },
532
+ "tsdoc-tag": {
533
+ "enum": [
534
+ "off",
535
+ "on",
536
+ "error"
537
+ ],
538
+ "type": "string"
539
+ }
540
+ },
541
+ "type": "object"
542
+ }
543
+ ]
544
+ },
545
+ "documentation": {
546
+ "anyOf": [
547
+ {
548
+ "enum": [
549
+ "off",
550
+ "on",
551
+ "error"
552
+ ],
553
+ "type": "string"
554
+ },
555
+ {
556
+ "additionalProperties": false,
557
+ "properties": {
558
+ "deprecated-without-guidance": {
559
+ "enum": [
560
+ "off",
561
+ "on",
562
+ "error"
563
+ ],
564
+ "type": "string"
565
+ },
566
+ "missing-doc": {
567
+ "enum": [
568
+ "off",
569
+ "on",
570
+ "error"
571
+ ],
572
+ "type": "string"
573
+ },
574
+ "missing-returns": {
575
+ "enum": [
576
+ "off",
577
+ "on",
578
+ "error"
579
+ ],
580
+ "type": "string"
581
+ }
582
+ },
583
+ "type": "object"
584
+ }
585
+ ]
586
+ },
587
+ "contract": {
588
+ "anyOf": [
589
+ {
590
+ "enum": [
591
+ "off",
592
+ "on",
593
+ "error"
594
+ ],
595
+ "type": "string"
596
+ },
597
+ {
598
+ "additionalProperties": false,
599
+ "properties": {
600
+ "param-mismatch": {
601
+ "enum": [
602
+ "off",
603
+ "on",
604
+ "error"
605
+ ],
606
+ "type": "string"
607
+ },
608
+ "param-order": {
609
+ "enum": [
610
+ "off",
611
+ "on",
612
+ "error"
613
+ ],
614
+ "type": "string"
615
+ },
616
+ "param-untagged": {
617
+ "enum": [
618
+ "off",
619
+ "on",
620
+ "error"
621
+ ],
622
+ "type": "string"
623
+ },
624
+ "type-param-mismatch": {
625
+ "enum": [
626
+ "off",
627
+ "on",
628
+ "error"
629
+ ],
630
+ "type": "string"
631
+ },
632
+ "type-param-untagged": {
633
+ "enum": [
634
+ "off",
635
+ "on",
636
+ "error"
637
+ ],
638
+ "type": "string"
639
+ }
640
+ },
641
+ "type": "object"
642
+ }
643
+ ]
644
+ },
645
+ "suppression": {
646
+ "anyOf": [
647
+ {
648
+ "enum": [
649
+ "off",
650
+ "on",
651
+ "error"
652
+ ],
653
+ "type": "string"
654
+ },
655
+ {
656
+ "additionalProperties": false,
657
+ "properties": {
658
+ "suppression": {
659
+ "enum": [
660
+ "off",
661
+ "on",
662
+ "error"
663
+ ],
664
+ "type": "string"
665
+ },
666
+ "suppression-unused": {
667
+ "enum": [
668
+ "off",
669
+ "on",
670
+ "error"
671
+ ],
672
+ "type": "string"
673
+ }
674
+ },
675
+ "type": "object"
676
+ }
677
+ ]
678
+ }
679
+ },
680
+ "type": "object"
681
+ }
682
+ },
683
+ "type": "object"
684
+ }
685
+ },
686
+ "title": "quality.json",
687
+ "type": "object"
688
+ }