build: remove pre-commit git hook (#329)

Remove the pre-commit git hook and its related
dependencies_ husky, lint-staged, commitizen and
cz-conventional-changelog.
This commit is contained in:
Sat Naing
2024-07-22 21:54:56 +07:00
committed by GitHub
parent c63f106fa4
commit 7b83996daf
4 changed files with 27 additions and 1667 deletions
-16
View File
@@ -11,8 +11,6 @@
"astro": "astro",
"format:check": "prettier --check . --plugin=prettier-plugin-astro",
"format": "prettier --write . --plugin=prettier-plugin-astro",
"cz": "cz",
"prepare": "husky install",
"lint": "eslint ."
},
"dependencies": {
@@ -38,26 +36,12 @@
"@types/react": "^18.3.3",
"@typescript-eslint/parser": "^6.19.0",
"astro-eslint-parser": "^0.16.2",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.56.0",
"eslint-plugin-astro": "^0.31.3",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.6.5",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,mdx,json,astro}": [
"prettier --write --plugin=prettier-plugin-astro"
]
}
}