diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b770281bd..17930b785 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -132,6 +132,8 @@ The following tests are at a `error` level and will prevent merging: - [Emdash](https://github.com/errata-ai/Google/blob/master/Google/EmDash.yml) - [Endash](https://github.com/errata-ai/Google/blob/master/Google/EmDash.yml) - [Exclamation](https://github.com/errata-ai/Google/blob/master/Google/Exclamation.yml) +- [Gender](https://developers.google.com/style/pronouns#gender-neutral-pronouns) +- [GenderBias](https://developers.google.com/style/inclusive-documentation) - [HeadingPunctuation](https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings) - [LyHyphens](https://developers.google.com/style/hyphens) - [NonStandardQuotes](https://github.com/fluent/fluent-bit-docs/blob/master/vale-styles/FluentBit/NonStandardQuotes.yml): diff --git a/vale-styles/FluentBit/Gender.yml b/vale-styles/FluentBit/Gender.yml index 9b5689ebd..c8486181d 100644 --- a/vale-styles/FluentBit/Gender.yml +++ b/vale-styles/FluentBit/Gender.yml @@ -1,9 +1,9 @@ extends: existence message: "Don't use '%s' as a gender-neutral pronoun." link: 'https://developers.google.com/style/pronouns#gender-neutral-pronouns' -level: suggestion +level: error ignorecase: true tokens: - he/she - s/he - - \(s\)he \ No newline at end of file + - \(s\)he diff --git a/vale-styles/FluentBit/GenderBias.yml b/vale-styles/FluentBit/GenderBias.yml index 3a3b6985e..261cfb666 100644 --- a/vale-styles/FluentBit/GenderBias.yml +++ b/vale-styles/FluentBit/GenderBias.yml @@ -2,7 +2,7 @@ extends: substitution message: "Consider using '%s' instead of '%s'." link: 'https://developers.google.com/style/inclusive-documentation' ignorecase: true -level: suggestion +level: error swap: (?:alumna|alumnus): graduate (?:alumnae|alumni): graduates @@ -42,4 +42,4 @@ swap: waitress: waiter woman doctor: doctor woman scientist[s]?: scientist(s) - work(?:m[ae]n|wom[ae]n): worker(s) \ No newline at end of file + work(?:m[ae]n|wom[ae]n): worker(s)