Skip to content

Commit 7c728fe

Browse files
committedMar 5, 2025·
fixed ruleset type name, needs to reflect the fact that rulesets is an array of objects where each object has a single field for the ruleset name

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed
 

‎schema/schema.json

+20-15
Original file line numberDiff line numberDiff line change
@@ -85,23 +85,28 @@
8585
},
8686
"ruleset": {
8787
"type": "object",
88-
"properties": {
89-
"rules": {
90-
"type": "object",
91-
"additionalProperties": {
92-
"$ref": "#/definitions/rule"
88+
"minProperties": 1,
89+
"maxProperties": 1,
90+
"additionalProperties": {
91+
"type": "object",
92+
"properties": {
93+
"rules": {
94+
"type": "object",
95+
"additionalProperties": {
96+
"$ref": "#/definitions/rule"
97+
}
98+
},
99+
"ignore": {
100+
"$ref": "#/definitions/pathList"
101+
},
102+
"only": {
103+
"$ref": "#/definitions/pathList"
93104
}
94105
},
95-
"ignore": {
96-
"$ref": "#/definitions/pathList"
97-
},
98-
"only": {
99-
"$ref": "#/definitions/pathList"
100-
}
101-
},
102-
"required": [
103-
"rules"
104-
]
106+
"required": [
107+
"rules"
108+
]
109+
}
105110
},
106111
"pathList": {
107112
"type": "array",

0 commit comments

Comments
 (0)
Please sign in to comment.