diff options
Diffstat (limited to 'doc/.vale/gitlab/FutureTense.yml')
-rw-r--r-- | doc/.vale/gitlab/FutureTense.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/.vale/gitlab/FutureTense.yml b/doc/.vale/gitlab/FutureTense.yml new file mode 100644 index 00000000000..a53a7dd29cc --- /dev/null +++ b/doc/.vale/gitlab/FutureTense.yml @@ -0,0 +1,17 @@ +--- +# Suggestion: gitlab.FutureTense +# +# Checks for use of future tense in sentences. Present tense is preferred as +# much as possible. +# +# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles +extends: existence +message: 'Avoid using future tense: "%s"' +ignorecase: true +level: warning +link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#language-to-avoid +raw: + - "(going to( |\n|[[:punct:]])[a-zA-Z]*|" + - "will( |\n|[[:punct:]])[a-zA-Z]*|" + - "won't( |\n|[[:punct:]])[a-zA-Z]*|" + - "[a-zA-Z]*'ll( |\n|[[:punct:]])[a-zA-Z]*)" |