Check type ID#

kind: filesystem_name_case

Purpose#

Require a name (or path segments) to follow a case style.

Configuration keys#

FieldRequiredDefaultMeaning
styleyes-One of kebab, snake, screaming-snake, camel, pascal, point, lower.
targetnofilenameWhat to test: filename, filename-ext, parent-dir, or path-segments.

Example#

collections:
  notes:
    path: notes
    checks:
      - kind: filesystem_name_case
        style: kebab