Skip to content

TBL-002 Empty cells

Validates that table cells are not empty. When columns is specified, only those columns are checked; otherwise every column is checked. Violations are reported as warning.

Adding a row to a requirements table with an empty Status, or forgetting to fill in the Description of an API entry, lowers the document’s completeness. These omissions are easy to miss in review, so detecting them mechanically is worthwhile.

FieldTypeRequiredDescription
columnsstring[]Column names to validate. If omitted, all columns are checked
filesstringGlob of files this rule applies to

The rule works even with no options at all (every column of every table is checked).

## Requirements
| ID | Description | Status |
| ------ | --------------------- | ------ |
| REQ-01 | User registration | stable |
| REQ-02 | Password reset | |

With columns: ["Status"] (or no columns), the empty cell is detected.

docs/requirements.md
line 5 warning Empty cell in column "Status" TBL-002
## Requirements
| ID | Description | Status |
| ------ | --------------------- | ------ |
| REQ-01 | User registration | stable |
| REQ-02 | Password reset | review |
{
"rule": "tbl002",
"options": {
"columns": ["Status", "Owner"]
}
}