mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
eca3db5692
PR Close #47295 PR Close #47295
18 lines
596 B
YAML
18 lines
596 B
YAML
# Inclusive language tested by Angular CI/CD
|
|
# tests for strings that must be replaced before the content is published
|
|
extends: substitution
|
|
message: "Use '%s' instead of '%s'."
|
|
link: 'https://developers.google.com/style/word-list'
|
|
level: error
|
|
ignorecase: true
|
|
action:
|
|
name: replace
|
|
swap:
|
|
master: primary|main|leader|active|writer
|
|
slave: secondary|node|worker|replica|passive
|
|
'white[\s_-]*list': include list|allow list
|
|
'black[\s_-]*list': exclude list|deny list
|
|
grandfathered: legacied|exempted
|
|
'sanity[\s_-]*check': confidence check
|
|
'man[\s_-]*hours': person-hours|human-hours
|