Skip to content
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

XS⚠️ ◾ 🦺 Validator - Updated validator to flag fields with missing space #9531

Merged
merged 8 commits into from
Nov 4, 2024

Conversation

Calinator444
Copy link
Member

@Calinator444 Calinator444 commented Nov 4, 2024

Description

I've updated the rules validator to flag any issues where there's missing white space after a frontmatter field.

I've also updated the validator to ignore "/categories/index.md" since it is neither a category or a rule. Attempting to validate it simply breaks the validator at the current time.

e.g.

title:rule \<!--this will throw an error--\>

Screenshot

image

Figure: Frontmatter validator a rule with spacing issues

@github-actions github-actions bot added the Age: 🥚 - New About 2 hours old label Nov 4, 2024
Copy link
Contributor

github-actions bot commented Nov 4, 2024

PR Metrics

Thanks for keeping your pull request small.
⚠️ Consider adding additional tests.

Lines
Product Code 84
Test Code -
Subtotal 84
Ignored Code -
Total 84

Metrics computed by PR Metrics. Add it to your Azure DevOps and GitHub PRs!

@github-actions github-actions bot changed the title 🦺 Validator - Updated validator to flag fields with missing space XS⚠️ ◾ 🦺 Validator - Updated validator to flag fields with missing space Nov 4, 2024
@Calinator444 Calinator444 merged commit 2010128 into main Nov 4, 2024
4 checks passed
@Calinator444 Calinator444 deleted the update-rules-validator branch November 4, 2024 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Age: 🥚 - New About 2 hours old
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants