mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-30 11:29:12 -04:00
chore(git): added husky's pre-commit hook
This commit is contained in:
parent
ef9703fc14
commit
88bf0091f5
4 changed files with 14 additions and 1 deletions
1
.husky/.gitignore
vendored
Normal file
1
.husky/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
_
|
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npm run lint
|
Loading…
Add table
Add a link
Reference in a new issue