Skip to content

Commit c6a1a56

Browse files
committed
Revert "feat: Add pre-push hook to restrict branch naming"
This reverts commit 0b7d8ab.
1 parent 4c35da1 commit c6a1a56

File tree

4 files changed

+1365
-998
lines changed

4 files changed

+1365
-998
lines changed

.husky/pre-commit

Lines changed: 0 additions & 1 deletion
This file was deleted.

.husky/pre-push

Lines changed: 0 additions & 19 deletions
This file was deleted.

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,14 @@
1010
"node": "22.x.x"
1111
},
1212
"license": "MPL-2.0",
13+
"husky": {
14+
"hooks": {
15+
"pre-commit": "yarn precommit"
16+
}
17+
},
1318
"scripts": {
1419
"dev": "yarn start",
20+
"precommit": "lint-staged",
1521
"test": "vitest",
1622
"test:compilation": "tsc --noEmit",
1723
"lint": "eslint -c .eslintrc.js",
@@ -44,7 +50,7 @@
4450
"eslint": "^8.43.0",
4551
"eslint-config-prettier": "^9.1.0",
4652
"eslint-plugin-prettier": "^5.2.1",
47-
"husky": "^9.1.7",
53+
"husky": "1.0.0-rc.13",
4854
"inquirer": "^9.2.12",
4955
"js-yaml": "^4.1.0",
5056
"kleur": "^4.1.5",
@@ -123,8 +129,5 @@
123129
},
124130
"resolutions": {
125131
"acorn": "^6.4.1"
126-
},
127-
"husky": {
128-
"hooks": {}
129132
}
130133
}

0 commit comments

Comments
 (0)