diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 0000000..6ca46a7 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1 @@ +pnpm run lint diff --git a/package.json b/package.json index 320283c..b1bff77 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "scripts": { "nimpl:i18n": "pnpm --filter @nimpl/i18n", "lint": "eslint \"package/\"", - "eslint": "eslint" + "eslint": "eslint", + "prepare": "husky" }, "keywords": [], "author": "",