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

Added rule: for instance #690

Merged
merged 1 commit into from
Nov 23, 2023
Merged

Conversation

gaurav-nelson
Copy link
Contributor

Fixes #687

New rule: Checks if there is a space before and a comma following "for instance".

question: ❔ Should we also check for "for instance" with spaces before and after?

Copy link

github-actions bot commented Nov 9, 2023

🎊 Navigate the preview: https://redhat-documentation-vale-at-red-hat-690.surge.sh 🎊

Copy link

github-actions bot commented Nov 9, 2023

Click here to review and test in web IDE: Contribute

Copy link
Member

@aireilly aireilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regex lgtm, but wouldn't it be better to include this fix in the TermsErrors.yml rule? then we would be able to include a quickfix with the Substitution rule.
image

'(?<= )for instance(?=,)': for example

re: "Should we also check for "for instance" with spaces before and after?"

If there is a chance of false positives, I would be inclined to not include this version.

Copy link
Member

@aireilly aireilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@aireilly aireilly merged commit 8458db9 into redhat-documentation:main Nov 23, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "for instance" to the rules
2 participants