We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c416620 commit e46422dCopy full SHA for e46422d
.husky/.gitignore
@@ -0,0 +1 @@
1
+_
.husky/pre-commit
@@ -0,0 +1,4 @@
+#!/bin/sh
2
+. "$(dirname "$0")/_/husky.sh"
3
+
4
+node script/prevent-translation-commits.js
.husky/pre-push
+npm run prevent-pushes-to-main
package.json
@@ -209,11 +209,5 @@
209
"engines": {
210
"node": ">= 16.0.0"
211
},
212
- "repository": "https://github.com/github/docs",
213
- "husky": {
214
- "hooks": {
215
- "pre-commit": "node script/prevent-translation-commits.js",
216
- "pre-push": "npm run prevent-pushes-to-main"
217
- }
218
+ "repository": "https://github.com/github/docs"
219
}
0 commit comments