Check type ID#

kind: filesystem_extension_in

Purpose#

Allow only specific file extensions.

Configuration keys#

FieldRequiredDefaultMeaning
valuesyes-Allowed extensions, including the leading dot.

Example#

collections:
  notes:
    path: notes
    pattern: "*"
    checks:
      - kind: filesystem_extension_in
        values: [.md, .markdown]