-
Notifications
You must be signed in to change notification settings - Fork 203
Open
Labels
idleIssues and pull requests with no activity for three months.Issues and pull requests with no activity for three months.
Description
When linting https://github.com/mdn/data/blob/master/css/at-rules.json, a schema error was detected for the @property
object (
Line 331 in 3a92ce8
"@property": { |
"@property": {
"syntax": "@property <custom-property-name> {\n <declaration-list>\n}",
"status": "experimental",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@property"
},
because it was missing the groups
property per
Line 39 in 3a92ce8
"minitems": 1, |
Although the error output reports
JSON Schema – 1 error(s)
, the detailed error message is blank:
...
css/at-rules.json
Style – OK
JSON Schema – 1 error(s)
css/at-rules.schema.json
Style – OK
...
This seems to be a problem in the better-ajv-errors
npm package.
NOTE (to self): The value of ajv.errors
at
Line 75 in 3a92ce8
ajv.errors.forEach(function(error) { |
[
{
keyword: 'required',
dataPath: '/@property',
schemaPath: '#/additionalProperties/required',
params: { missingProperty: 'groups' },
message: "should have required property 'groups'"
}
]
Metadata
Metadata
Assignees
Labels
idleIssues and pull requests with no activity for three months.Issues and pull requests with no activity for three months.