679a2bff74
Problem: I keep forgetting to run tests and my commits aren't actually
passing in CI. I'd really like for these to be run automatically so that
I don't have to remember my pre-commit hooks.
Solution: Revert commit d9e829e2e8
, which
Nick Wynja added to remove Husky as a pre-commit hook. I hope that
anyone who doesn't want to run the pre-commit hook will run Git with the
`--no-verify` option, and anyone bummed at this change will open a
conversation to discuss in more details (or just revert *this* commit).
See-also: https://github.com/fraction/oasis/issues/346
6 lines
50 B
Plaintext
6 lines
50 B
Plaintext
{
|
|
"hooks": {
|
|
"pre-commit": "npm test"
|
|
}
|
|
}
|