summaryrefslogtreecommitdiff
path: root/doc/.vale
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-28 18:08:52 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-28 18:08:52 +0000
commit3e49ae159acbb703f005f5014772072cd90ef97b (patch)
treea65e942c5e207461419c4a266ebe6952733c8520 /doc/.vale
parent77d49e6a73b3a1e142ec865d05dc3dd9a708ab6a (diff)
downloadgitlab-ce-3e49ae159acbb703f005f5014772072cd90ef97b.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/.vale')
-rw-r--r--doc/.vale/gitlab/AlertBoxStyle.yml2
-rw-r--r--doc/.vale/gitlab/ToDo.yml7
2 files changed, 5 insertions, 4 deletions
diff --git a/doc/.vale/gitlab/AlertBoxStyle.yml b/doc/.vale/gitlab/AlertBoxStyle.yml
index 0f7e163409a..d15757d38fc 100644
--- a/doc/.vale/gitlab/AlertBoxStyle.yml
+++ b/doc/.vale/gitlab/AlertBoxStyle.yml
@@ -14,5 +14,5 @@ link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#alert
level: error
scope: raw
raw:
- - '((NOTE|TIP|CAUTION|DANGER): \*\*.*\*\*.+)|'
+ - '(\n(NOTE|TIP|CAUTION|DANGER): \*\*.*\*\*.+)|'
- '((\n[> ]*(\*){1,2}(NOTE|Note|note|TIP|Tip|tip|CAUTION|Caution|caution|DANGER|Danger|danger):(\*){1,2}))'
diff --git a/doc/.vale/gitlab/ToDo.yml b/doc/.vale/gitlab/ToDo.yml
index fcb5c854e7e..b3c5f6077b1 100644
--- a/doc/.vale/gitlab/ToDo.yml
+++ b/doc/.vale/gitlab/ToDo.yml
@@ -5,9 +5,10 @@
#
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
extends: substitution
-message: 'Use "%s" instead of "%s" unless referring to the "Add a To Do" button in the UI.'
+message: 'Use "to-do item" in most cases, or "Add a to do" if referring to the UI button.'
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#feature-names
level: warning
-ignorecase: true
+ignorecase: false
swap:
- 'to dos': to-do items
+ '[Tt]o [Dd]o [Ii]tems?': to-do item
+ '\w* [Aa] [Tt]o [Dd]o': Add a to do