diff --git a/Coop/styles/Coop/InclusiveLanguage.yml b/Coop/styles/Coop/InclusiveLanguage.yml new file mode 100644 index 0000000..ae6c141 --- /dev/null +++ b/Coop/styles/Coop/InclusiveLanguage.yml @@ -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