Skip to content

Commit

Permalink
Allowing allowUnionTypes to schema linting
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Springett <[email protected]>
  • Loading branch information
stevespringett committed Dec 27, 2023
1 parent 55a7aad commit 64d237e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/src/test/js/json-schema-lint-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ function getAjv(strict) {
validateFormats: true,
allowMatchingProperties: true,
addUsedSchema: false,
allowUnionTypes: true,
schemas: {
'http://cyclonedx.org/schema/spdx.schema.json': spdxSchema,
'http://cyclonedx.org/schema/jsf-0.82.schema.json': jsfSchema
Expand Down

0 comments on commit 64d237e

Please sign in to comment.