Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Commit 3ed2134

Browse files
Merge pull request #192 from package-wizard/code-style-ns5c0we
The code style has been fixed
2 parents ac8bf7d + 1589f6f commit 3ed2134

2 files changed

Lines changed: 43 additions & 15 deletions

File tree

resources/schemas/example-v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"clean": true
1111
},
1212
"authors": [
13-
{ },
13+
[],
1414
{
1515
"name": "John Doe",
1616
"email": "john@example.com",

resources/schemas/schema-v2.json

Lines changed: 42 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,18 @@
6767
"type": "array",
6868
"items": {
6969
"anyOf": [
70-
{ "$ref": "#/definitions/questionAuthor" },
71-
{ "$ref": "#/definitions/questionLicense" },
72-
{ "$ref": "#/definitions/questionText" },
73-
{ "$ref": "#/definitions/questionSelect" }
70+
{
71+
"$ref": "#/definitions/questionAuthor"
72+
},
73+
{
74+
"$ref": "#/definitions/questionLicense"
75+
},
76+
{
77+
"$ref": "#/definitions/questionText"
78+
},
79+
{
80+
"$ref": "#/definitions/questionSelect"
81+
}
7482
]
7583
},
7684
"additionalProperties": false
@@ -454,8 +462,12 @@
454462
},
455463
"default": {
456464
"oneOf": [
457-
{ "type": "string" },
458-
{ "type": "integer" }
465+
{
466+
"type": "string"
467+
},
468+
{
469+
"type": "integer"
470+
}
459471
],
460472
"default": ""
461473
},
@@ -498,8 +510,12 @@
498510
"options": {
499511
"type": "array",
500512
"anyOf": [
501-
{ "type": "string" },
502-
{ "type": "integer" },
513+
{
514+
"type": "string"
515+
},
516+
{
517+
"type": "integer"
518+
},
503519
{
504520
"type": "object",
505521
"propertyNames": {
@@ -514,8 +530,12 @@
514530
},
515531
"default": {
516532
"oneOf": [
517-
{ "type": "string" },
518-
{ "type": "integer" }
533+
{
534+
"type": "string"
535+
},
536+
{
537+
"type": "integer"
538+
}
519539
]
520540
},
521541
"replace": {
@@ -536,13 +556,19 @@
536556
},
537557
"valueReplace": {
538558
"oneOf": [
539-
{ "type": "string" },
559+
{
560+
"type": "string"
561+
},
540562
{
541563
"type": "array",
542564
"items": {
543565
"anyOf": [
544-
{ "type": "string" },
545-
{ "type": "number" }
566+
{
567+
"type": "string"
568+
},
569+
{
570+
"type": "number"
571+
}
546572
]
547573
},
548574
"uniqueItems": true,
@@ -555,7 +581,9 @@
555581
"validation": {
556582
"type": "array",
557583
"items": [
558-
{ "type": "string" }
584+
{
585+
"type": "string"
586+
}
559587
],
560588
"default": null,
561589
"uniqueItems": true,

0 commit comments

Comments
 (0)