chore: add husky

Signed-off-by: hansputera <hanifdwyputrasembiring@gmail.com>
This commit is contained in:
hansputera
2022-03-05 21:10:29 +07:00
parent 5534549563
commit 05abea1ebc
2 changed files with 3 additions and 1 deletions

View File

@@ -2,3 +2,4 @@
. "$(dirname "$0")/_/husky.sh"
yarn lint
npm run lint

View File

@@ -15,7 +15,8 @@
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --parallel",
"lint": "turbo run lint"
"lint": "turbo run lint",
"prepare": "husky install"
},
"packageManager": "yarn@3.2.0"
}