impress-2020/.husky/pre-commit
Matchu 8da664227f Add a pre-commit lint hook
I've got it in my IDE too, but I want more safeguards lol, I'm tired of goofing up the pushes :p

I don't allow warnings here, but still have them as warnings not errors; because I don't want them to block build, but I _do_ want them to block commit.
2021-05-04 18:50:47 -07:00

4 lines
59 B
Bash
Executable file

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
yarn lint-staged