FrontmatterValidationConfig
On this page
import type { FrontmatterValidationConfig } from "ardo/config"
type FrontmatterValidationConfig = {
/** How to report unsupported frontmatter keys. Defaults to `ignore` for compatibility. */
unknown?: DiagnosticLevel;
/** How to report known frontmatter keys with an invalid value. Defaults to `warn`. */
invalid?: DiagnosticLevel;
};
Properties
| Name | Type | Required | Description |
|---|---|---|---|
unknown | DiagnosticLevel | No | How to report unsupported frontmatter keys. Defaults to ignore for compatibility. |
invalid | DiagnosticLevel | No | How to report known frontmatter keys with an invalid value. Defaults to warn. |