| id | 51 |
|---|---|
| title | Section-Level Size Limits |
| status | 🔲 |
Enforce size limits on individual Markdown sections to prevent oversized headings from hiding in otherwise compliant files.
- Define section boundary detection rules for heading levels.
- Add configuration for per-heading or per-pattern limits.
- Implement rule to count section length by lines or tokens.
- Document configuration and examples.
- Rule enforces size limits per heading level or heading pattern.
- Findings include the heading title and measured size.
- Limits can be configured independently of file-level limits.
- All tests pass:
go test ./... -
golangci-lint runreports no issues