4 ms·
Git hooks are pretty useful for catching yourself. I recently put this in .git/hooks/pre-commit for one of my repos: #!/usr/bin/env bash npm run lint
by Sir_Cmpwn 10y ago
Git hooks are pretty useful for catching yourself. I recently put this in .git/hooks/pre-commit for one of my repos:
#!/usr/bin/env bash
npm run lint