chore(git): added husky's pre-commit hook

This commit is contained in:
Corentin Thomasset 2021-06-18 18:43:45 +02:00
parent ef9703fc14
commit 88bf0091f5
No known key found for this signature in database
GPG key ID: DBD997E935996158
4 changed files with 14 additions and 1 deletions

4
.husky/pre-commit Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run lint