Skip to content

VBC-338: non-inclusive-terminology ​

warning

Category: docs
Analysis: Regex (line by line)
File types: .md, .txt, .js, .ts, .tsx, .py, .astro
Scope: the whole file, with no scope filtering
Off by default. Name it in slopless.config.json to turn it on.
Tags: docs inclusive-language

What it reports ​

Non-inclusive terminology at line {line}. Prefer main, primary/replica, allowlist/blocklist, and a plain "check". Domain uses such as an audio master bus or a mastering chain are not reported.

Flagged ​

md
Push to the master branch.
md
Add the host to the whitelist.

Not flagged ​

md
Push to the main branch.
md
Add the host to the allowlist.
md
Master section accent colour.
md
To rename the branch, run `git branch -m master main`.
md
```sh
git push origin master

```md
The audio mastering chain.

Pattern ​

regex
\bmaster[\s/-]?slave\b|\bslaves?\b|\bmaster\s+(?:branch|node|server|database|db|key|process|replica|copy)\b|\b(?:origin/)?master\b(?=\s*(?:branch\b|$))|\bblacklist(?:ed|ing)?\b|\bwhitelist(?:ed|ing)?\b|\bsanity[- ]check\b

Released under the MIT License.