Add lint rule to prevent short table delimiter rows
Problem to solve
As discussed in the related issue, we need to make sure that tables always have at least three - in the delimiter rows, otherwise the translation system could fail to parse the table correctly.
Further details
We need to prevent tables like:
- !194409 (diffs)
- https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/subscriptions/gitlab_dedicated/_index.md?ref_type=heads&plain=1#L269
Proposal
We can create a vale rule to catch and prevent these kinds of tables. Regex similar to \|$\n\| ?-{0,2}\| might work
Who can address the issue
Other links/references
Edited by Marcel Amirault