diff --git a/package.json b/package.json index beb0b31..dc4ce8e 100644 --- a/package.json +++ b/package.json @@ -82,11 +82,16 @@ "initVersion": "7.10.3" }, "lint-staged": { - "*.{js,ts,tsx,md,json,yml}": "prettier --write" + "*.{js,ts,tsx,md,json,yml,mdx}": "prettier --write" + }, + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } }, "engines": { "node": ">=18", "npm": "please-use-yarn", "yarn": ">=1.22" } -} +} \ No newline at end of file