just/bin/forbid

10 lines
138 B
Plaintext
Raw Normal View History

2021-05-10 23:58:05 -07:00
#!/usr/bin/env bash
set -euxo pipefail
! rg \
--glob !bin/forbid \
--glob !CHANGELOG.md \
--ignore-case \
'dbg!|fixme|todo|xxx'