-
Notifications
You must be signed in to change notification settings - Fork 0
ci: prose linting using Vale #14
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.
minor remarks, but lgtm mostly!
name: replace | ||
swap: | ||
are not: aren't | ||
cannot: can't |
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.
cannot: can't | |
can not: can't |
@@ -0,0 +1,30 @@ | |||
extends: substitution | |||
message: "Use '%s' instead of '%s'." | |||
link: 'https://developers.google.com/style/contractions' |
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.
This one says to only contract "dismisses" with "not". I am fine with keeping the extra work tho!
swap: | ||
(?:alumna|alumnus): graduate | ||
(?:alumnae|alumni): graduates | ||
air(?:m[ae]n|wom[ae]n): pilot(s) |
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.
This is a thing? Haha never heard of before.
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.
Where does this list come from, do we maintain it?
@@ -1,3 +1,3 @@ | |||
# Managed Control Planes (MCPs) | |||
# Managed control planes (MCPs) |
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.
This should remain "Managed Control Planes" imo.
What this PR does / why we need it:
This PR adds prose linting using Vale. The configuration and rules can be adjusted in the future when we have more experience with the tool. For now, it is configured to follow Google's developer documentation style guide.
All warnings have been resolved. There are just some suggestions that can be ignored for now.