Check type ID#
kind: filesystem_name_length
Purpose#
Bound the character length of a name.
Configuration keys#
| Field | Required | Default | Meaning |
|---|---|---|---|
min | no | - | Minimum length (at least one of min/max). |
max | no | - | Maximum length (at least one of min/max). |
target | no | filename | What to test: filename, filename-ext, parent-dir, or path-segments. |
Example#
collections:
notes:
path: notes
checks:
- kind: filesystem_name_length
max: 80