Commit d94eda1f authored by Amy Qualls's avatar Amy Qualls Committed by Marcel Amirault

Switch to shorter comment style

We've since shifted to a shorter comment style for Vale tests.
parent f17d1cc4
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles # For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
extends: substitution extends: substitution
message: "CAUTION: alert boxes must be of the format 'CAUTION: **Caution:**'. 'Caution' can be replaced with 'Warning' or 'Important'." message: "CAUTION: alert boxes must be of the format 'CAUTION: **Caution:**'. 'Caution' can be replaced with 'Warning' or 'Important'."
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#alert-boxes
level: warning level: warning
nonword: true nonword: true
scope: raw scope: raw
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles # For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
extends: substitution extends: substitution
message: "DANGER: alert boxes must be of the format 'DANGER: **Warning:**'. 'Warning' can be replaced with 'Important', 'Deprecated', or 'Required'." message: "DANGER: alert boxes must be of the format 'DANGER: **Warning:**'. 'Warning' can be replaced with 'Important', 'Deprecated', or 'Required'."
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#alert-boxes
level: error level: error
nonword: true nonword: true
scope: raw scope: raw
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles # For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
extends: substitution extends: substitution
message: "NOTE: and TIP: alert boxes must be of the format 'NOTE: **Note:**' or 'TIP: **Tip:**" message: "NOTE: and TIP: alert boxes must be of the format 'NOTE: **Note:**' or 'TIP: **Tip:**"
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#alert-boxes
level: warning level: warning
nonword: true nonword: true
scope: raw scope: raw
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# #
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles # For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
extends: existence extends: existence
message: 'Avoid words like "%s" that promise future changes.' message: 'Avoid words like "%s" that promise future changes, because documentation is about the current state of the product.'
level: suggestion level: suggestion
ignorecase: true ignorecase: true
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#language-to-avoid link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#language-to-avoid
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# #
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles # For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
extends: existence extends: existence
message: 'Avoid using future tense: "%s"' message: 'Avoid using future tense: "%s". Use present tense instead.'
ignorecase: true ignorecase: true
level: warning level: warning
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#language-to-avoid link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#language-to-avoid
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# #
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles # For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
extends: existence extends: existence
message: 'Link "%s" must be relative.' message: 'Link "%s" must be a relative link with a .md extension.'
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#links-to-internal-documentation link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#links-to-internal-documentation
level: error level: error
scope: raw scope: raw
......
--- ---
# Error: gitlab.VersionText # Error: gitlab.VersionText
# #
# Checks that version text is formatted correctly. # Checks for use of some of the top misused terms at GitLab.
# # For substitutions only flagged as warnings, see SubstitutionWarning.yml
# Specifically looks for either of the following that is immediately followed on the next line
# by content, which will break rendering:
#
# - `> Introduced` (version text without a link)
# - `> [Introduced` (version text with a link)
#
# Because it excludes `-`, it doesn't look for multi-line version text, for which content
# immediately on the next line is ok. However, this will often highlight where multi-line version
# text is attempted without `-` characters.
# #
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles # For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
extends: existence extends: existence
message: '"%s" is not formatted correctly.' message: 'This introduced-in line is not formatted correctly.'
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#text-for-documentation-requiring-version-text link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#text-for-documentation-requiring-version-text
level: error level: error
scope: raw scope: raw
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment