summaryrefslogtreecommitdiff
path: root/.github/styles/Google/FirstPerson.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/styles/Google/FirstPerson.yml')
-rw-r--r--.github/styles/Google/FirstPerson.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/styles/Google/FirstPerson.yml b/.github/styles/Google/FirstPerson.yml
new file mode 100644
index 00000000..d2290611
--- /dev/null
+++ b/.github/styles/Google/FirstPerson.yml
@@ -0,0 +1,11 @@
+extends: existence
+message: "Avoid first-person pronouns such as '%s'."
+link: 'https://developers.google.com/style/pronouns#personal-pronouns'
+ignorecase: true
+level: warning
+nonword: true
+tokens:
+ - (?:^|\s)I\s
+ - \bme\b
+ - \bus\b
+ - \bours\b