Block commits when your docs have typos

lingua ●●○

lingua spell behaves like a linter: exit 0 when clean, exit 1 when it finds issues. Drop it in a pre-commit hook and typo'd docs never land. Add lingua grammar on the next line if you want grammar gating too.

$ printf '#!/bin/sh\nlingua spell < README.md\n' > .git/hooks/pre-commit \ && chmod +x .git/hooks/pre-commit
# On `git commit` with a typo in README.md: spell: recieve -> receive, relieve [27,7] # commit aborted
Requires: lingua 0.3+