Exclude mirrored enforcement docs from style scan
This commit is contained in:
parent
ed38a76acd
commit
59b006cb72
@ -16,7 +16,7 @@ EMDASH=$(printf '\xe2\x80\x94')
|
||||
# detect them, so exclude them from the phrase scan.
|
||||
is_enforcement_file() {
|
||||
case "$1" in
|
||||
.githooks/*|scripts/check-style.sh|scripts/check-commit-attribution.sh) return 0 ;;
|
||||
.githooks/*|scripts/check-style.sh|scripts/check-commit-attribution.sh|docs/rules/rules-swift/core/commits.md|docs/rules/rules-swift/core/git-discipline.md) return 0 ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user