diff --git a/.vale.ini b/.vale.ini --- a/.vale.ini +++ b/.vale.ini @@ -20,6 +20,7 @@ FreeBSD.Contractions = NO FreeBSD.Hang = NO FreeBSD.Hyphens = NO +FreeBSD.Pronouns = NO FreeBSD.SuperfluousOptArgInLinks = NO FreeBSD.SemanticLineBreak = NO FreeBSD.Spacing = NO diff --git a/.vale/styles/FreeBSD/Pronouns.yml b/.vale/styles/FreeBSD/Pronouns.yml new file mode 100644 --- /dev/null +++ b/.vale/styles/FreeBSD/Pronouns.yml @@ -0,0 +1,24 @@ +--- +extends: existence +message: "Avoid pronouns such as '%s'." +ignorecase: true +level: warning +nonword: true +tokens: + - (?:^|\s)I\s + - (?:^|\s)I,\s + - \bI'm\b + - \bme\b + - \bmy\b + - \bmine\b + - he/she + - s/he + - \(s\)he + - we + - we'(?:ve|re) + - ours? + - us + - let's + - you + - yours? + - you'(?:ve|re)