-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Adjust levels of Vale rules #48850
Adjust levels of Vale rules #48850
Conversation
🤖 Vercel preview here: https://docs-hhfg9awuk-goteleport.vercel.app/docs/ver/preview |
d098cc6
to
fd88c03
Compare
🤖 Vercel preview here: https://docs-92k37vkgh-goteleport.vercel.app/docs/ver/preview |
Change the error levels of Vale style rules to pave the way for requiring the Vale linter. Use the `warning` level for all rules except for the step numbering rule. This mostly preserves the existing "check prose style" GitHub Actions job behavior, in which Vale style rules are optional. The one rule we require is to ensure that numbered `Step n/d` headings follow the correct numbering scheme.
fd88c03
to
40b877b
Compare
@zmb3 After speaking with the Docs Team, I've changed all rules except the step numbering rule to have the @mmcallister Would you have time to take a look at this? It implements one step we talked about at our meeting. Thanks! |
🤖 Vercel preview here: https://docs-1igietmjf-goteleport.vercel.app/docs |
Backports #48850 Change the error levels of Vale style rules to pave the way for requiring the Vale linter. Use the `warning` level for all rules except for the step numbering rule. This mostly preserves the existing "check prose style" GitHub Actions job behavior, in which Vale style rules are optional. The one rule we require is to ensure that numbered `Step n/d` headings follow the correct numbering scheme.
Backports #48850 Change the error levels of Vale style rules to pave the way for requiring the Vale linter. Use the `warning` level for all rules except for the step numbering rule. This mostly preserves the existing "check prose style" GitHub Actions job behavior, in which Vale style rules are optional. The one rule we require is to ensure that numbered `Step n/d` headings follow the correct numbering scheme.
Backports #48850 Change the error levels of Vale style rules to pave the way for requiring the Vale linter. Use the `warning` level for all rules except for the step numbering rule. This mostly preserves the existing "check prose style" GitHub Actions job behavior, in which Vale style rules are optional. The one rule we require is to ensure that numbered `Step n/d` headings follow the correct numbering scheme.
Change the error levels of Vale style rules to pave the way for requiring the Vale linter.
If a style rule has the
raw
scope, it is not currently possible to disable the rule within a document using HTML/MDX comments. Further, a rule with theerror
level causes Vale to exit with a nonzero error code if a page violates the rule. As a result, this change makes the following adjustments to the error levels of Vale style rules:error
: styles where we want to ensure consistency/correctness, and where it is possible to disable the style using comments.warning
: style rules that an author might need to ignore. This includes style rules with theraw
scope, which cannot be disabled using comments.For some style rules, change the scope from
raw
to another scope that allows a docs author to disable the rule within a document using HTML/MDX-style comments.