-
Notifications
You must be signed in to change notification settings - Fork 73
feat: add checkMissingCells option to table-column-count #434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, would like another review before merge.
@@ -43,7 +43,7 @@ Examples of **correct** code for this rule: | |||
<!-- Rows with fewer cells are valid because they render correctly and no data is lost --> | |||
| Header | Header | Header | | |||
| ------ | ------ | ------ | | |||
| Cell | Cell | | | |||
| Cell | Cell | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its description says: <!-- Data row with fewer cells than header (VALID for this rule) -->
. Without this change, the number of cells would have matched the header.
Prerequisites checklist
What is the purpose of this pull request?
This pull request introduces a new option, checkMissingCells, to the table-column-count rule. The purpose of this addition is to provide users with more granular control over how the rule handles tables with missing cells, allowing for stricter or more flexible enforcement as needed.
What changes did you make? (Give an overview)
Related Issues
Fixes #422
Is there anything you'd like reviewers to focus on?