diff --git a/scripts/check-style.sh b/scripts/check-style.sh index 4cc0bbb..1bc310a 100755 --- a/scripts/check-style.sh +++ b/scripts/check-style.sh @@ -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 }