just/bin/forbid

12 lines
148 B
Plaintext
Raw Normal View History

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