diplodoc-platform / diplodoc-platform/cli
Prevent empty values in toc.yaml fields
Open
good first issue
- Dominant language
- TypeScript
- Stars
- 123
- Forks
- 51
- Avg merge
- 10h 50m
- Merged PRs (30d)
- 38
Description
**Description:**
`toc.yaml` should not allow fields with empty values.
**Current behavior:**
`toc.yaml` accepts fields with empty values (e.g., `name: ""`) without validation errors.
**Expected behavior:**
Validation should fail if any field in `toc.yaml` has an empty value.
**Steps to reproduce:**
1. Add a field with an empty value in `toc.yaml` (e.g., `name: ""`)
2. Run linting or validation
**Acceptance criteria:**
- Linting fails if any field in `toc.yaml` has an empty value
- Error message clearly indicates which field and its location are invalid
Contributor guide
Assessment
This issue has not been assessed yet.