Expand description
Structural rules: schema / frontmatter / required-section validation. Range: AIL001 – AIL099.
Re-exports§
pub use broken_local_link::BrokenLocalLinkRule;pub use empty_file::EmptyFileRule;pub use frontmatter_schema::FrontmatterSchemaRule;pub use malformed_yaml::MalformedYamlRule;pub use required_section::MissingRequiredSectionRule;
Modules§
- broken_
local_ link - AIL040
broken-local-link— a relative link in a Markdown document points at a file that does not exist on disk. - empty_
file - AIL002
instructions-file-empty— file is empty or whitespace only. - frontmatter_
schema - AIL001
no-frontmatter-schema-error— YAML frontmatter fails to parse. - malformed_
yaml - AIL041
malformed-yaml— a.yaml/.ymlfile failed to parse. - required_
section - AIL003
missing-required-section— required top-level heading is missing.
Constants§
- AIL001
- AIL001: frontmatter fails the schema expected for its file type.
- AIL002
- AIL002: guidance file is empty or whitespace-only.
- AIL003
- AIL003: a section required for this file type is missing.
- AIL040
- AIL040: relative link points at a file that does not exist.
- AIL041
- AIL041: YAML file (or frontmatter) fails to parse.
Functions§
- all_
rules - All structural rules, in registration order.