summaryrefslogtreecommitdiff
path: root/doc/.vale/gitlab/FirstPerson.yml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/.vale/gitlab/FirstPerson.yml')
-rw-r--r--doc/.vale/gitlab/FirstPerson.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/.vale/gitlab/FirstPerson.yml b/doc/.vale/gitlab/FirstPerson.yml
new file mode 100644
index 00000000000..18c5265b0a6
--- /dev/null
+++ b/doc/.vale/gitlab/FirstPerson.yml
@@ -0,0 +1,13 @@
+# Checks for use of first person pronouns.
+#
+# For a list of all options, see https://errata-ai.github.io/vale/styles/
+extends: existence
+message: '`%s` is a first-person pronoun. Use second- or third-person pronouns (like we, you, us, one) instead.'
+level: warning
+ignorecase: true
+link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#language
+tokens:
+ - '\bI[ ,;:?!"]|\bI\x27.{1,2}'
+ - me
+ - myself
+ - mine