Check type ID#
kind: filesystem_name_case
Purpose#
Require a name (or path segments) to follow a case style.
Configuration keys#
| Field | Required | Default | Meaning |
|---|---|---|---|
style | yes | - | One of kebab, snake, screaming-snake, camel, pascal, point, lower. |
target | no | filename | What to test: filename, filename-ext, parent-dir, or path-segments. |
Example#
collections:
notes:
path: notes
checks:
- kind: filesystem_name_case
style: kebab