typos.bash 278 B

1234567891011121314
  1. #!/bin/sh
  2. set -e
  3. result=0
  4. echo "Running 'typos' on source code..."
  5. typos || result=1
  6. # FIXME(typos): checking commit messages hits false positives
  7. # on "words" inside commit hashes. We'd need a way to disable
  8. # checking of combined identifiers to avoid this.
  9. exit $result