Skip to content

Commit

Permalink
Disable ajv's strict moden when running frontmatter validations
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianrbz committed Nov 26, 2024
1 parent f81595d commit 22b3789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/frontmatter-validator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const YAML = require("yaml");
const Ajv = require("ajv");
const addFormats = require("ajv-formats");

const ajv = new Ajv({ allErrors: true });
const ajv = new Ajv({ allErrors: true, strict: false });
addFormats(ajv);

async function validateFrontmatters() {
Expand Down

0 comments on commit 22b3789

Please sign in to comment.