max / balanced_breakfast
| 1 | #!/bin/bash |
| 2 | # Repo-local pre-commit extras, run last by the canonical hook. |
| 3 | # |
| 4 | # The JS suite. It is here rather than in the canonical hook because BB is the |
| 5 | # only repo that runs it separately: goingson's scripts/lint-frontend.sh runs its |
| 6 | # own suite internally, and BB's does not. If a second repo ever wants this, move |
| 7 | # it into the canonical hook behind a `[ -d <tests dir> ]` check rather than |
| 8 | # copying the file. |
| 9 | |
| 10 | |
| 11 | ROOT="" |
| 12 | |
| 13 | |
| 14 | staged_js="" |
| 15 | [ || |
| 16 | |
| 17 | |
| 18 | if ! ; then |
| 19 | |
| 20 | |
| 21 | fi |
| 22 |