Skip to content

Commit 2136f97

Browse files
authored
Merge pull request #1645 from fluent/lynettemiles/sc-134478/turn-on-gender-bias-test-for-fluent-bit
2 parents 1dca6ec + 55c7a52 commit 2136f97

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ The following tests are at a `error` level and will prevent merging:
132132
- [Emdash](https://github.com/errata-ai/Google/blob/master/Google/EmDash.yml)
133133
- [Endash](https://github.com/errata-ai/Google/blob/master/Google/EmDash.yml)
134134
- [Exclamation](https://github.com/errata-ai/Google/blob/master/Google/Exclamation.yml)
135+
- [Gender](https://developers.google.com/style/pronouns#gender-neutral-pronouns)
136+
- [GenderBias](https://developers.google.com/style/inclusive-documentation)
135137
- [HeadingPunctuation](https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings)
136138
- [LyHyphens](https://developers.google.com/style/hyphens)
137139
- [NonStandardQuotes](https://github.com/fluent/fluent-bit-docs/blob/master/vale-styles/FluentBit/NonStandardQuotes.yml):

vale-styles/FluentBit/Gender.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
extends: existence
22
message: "Don't use '%s' as a gender-neutral pronoun."
33
link: 'https://developers.google.com/style/pronouns#gender-neutral-pronouns'
4-
level: suggestion
4+
level: error
55
ignorecase: true
66
tokens:
77
- he/she
88
- s/he
9-
- \(s\)he
9+
- \(s\)he

vale-styles/FluentBit/GenderBias.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ extends: substitution
22
message: "Consider using '%s' instead of '%s'."
33
link: 'https://developers.google.com/style/inclusive-documentation'
44
ignorecase: true
5-
level: suggestion
5+
level: error
66
swap:
77
(?:alumna|alumnus): graduate
88
(?:alumnae|alumni): graduates
@@ -42,4 +42,4 @@ swap:
4242
waitress: waiter
4343
woman doctor: doctor
4444
woman scientist[s]?: scientist(s)
45-
work(?:m[ae]n|wom[ae]n): worker(s)
45+
work(?:m[ae]n|wom[ae]n): worker(s)

0 commit comments

Comments
 (0)