Skip to content

Commit

Permalink
feat: Include rules for inclusive Language
Browse files Browse the repository at this point in the history
  • Loading branch information
nhhagen committed May 30, 2024
1 parent f101d25 commit ba96ec8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Coop/styles/Coop/InclusiveLanguage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Warning: Coop.InclusiveLanguage
#
# Suggests alternatives for words that are culturally inappropriate.
#
# For a list of all options, see https://vale.sh/docs/topics/styles/

extends: substitution
message: "**Warning**: Use inclusive language. Consider '%s' instead of '%s'."
level: error
ignorecase: true
swap:
blacklist(?:ed|ing|s)?: denylist
whitelist(?:ed|ing|s)?: allowlist
master: primary, main
slave: secondary
he: they
his: their
she: they
hers: their
sanity (?:check|test): check for completeness
dummy: placeholder, sample, fake

0 comments on commit ba96ec8

Please sign in to comment.