软件版本 1.2.5 运行环境 Windows (64) 运行架构 x86 重现步骤 通过ide操作分支合并上游提交并解决冲突。 当前对启用的钩子做了一定调整 "simple-git-hooks": { "commit-msg": "pnpm sa git-commit-verify", "pre-commit": "pnpm lint-staged" } git log 16:54:09.732: [soy
"pre-commit":"pnpmlint-staged", "commit-msg":"node scripts/verifyCommit.mjs" }, "lint-staged": { "*.js": [ "*.{js,mjs,json,cjs}": [ "prettier --write" ], "*.ts?(x)": [ Expand Down 131 changes: 9 additions & 122 deletions131pnpm-lock.yaml ...
{…"config": {"ghooks": {"pre-commit":"gulp lint","commit-msg":"validate-commit-msg","pre-push":"make test","post-merge":"npm install","post-rewrite":"npm install",…} }…} Note:The hooks' working directory is relative to the git root (where you have your.gitdirectory). This...
"commit-msg": "node scripts/verifyCommit.js" "simple-git-hooks": { "pre-commit": "pnpm lint-staged", "commit-msg": "node scripts/verifyCommit.mjs" }, "lint-staged": { "*.js": [ "*.{js,json}": [ "prettier --write" ], "*.ts?(x)": [ @@ -92,12 +93,12 @@ "semver...
Breadcrumbs uni-network / simple-git-hooks.cjs Latest commit Cannot retrieve latest commit at this time. HistoryHistory File metadata and controls Code Blame 4 lines (4 loc) · 103 Bytes Raw module.exports = { "commit-msg": "npx commitlint --edit ${1}", "pre-commit": "npx lint-st...
hooks will be removed automatically by default // but you can use the `preserveUnused` option like following to prevent this behavior // if you'd prefer preserve all unused hooks "preserveUnused": true, // if you'd prefer preserve specific unused hooks "preserveUnused": ["commit-msg"] }...
File metadata and controls Code Blame 4 lines (4 loc) · 103 Bytes Raw module.exports = { "commit-msg": "npx commitlint --edit ${1}", "pre-commit": "npx lint-staged", }; 1 2 3 4While the code is focused, press Alt+F1 for a menu of operations....
"pre-commit": "pnpm exec lint-staged --concurrent false", "commit-msg": "pnpm exec tsx scripts/verifyCommit $1" }, "lint-staged": { "*.{js,jsx,vue,ts,tsx}": [ "prettier --write", 36 changes: 18 additions & 18 deletions 36 pnpm-lock.yaml Load diff Some generated files are...
Breadcrumbs vitepress-blog-theme / simple-git-hooks.json Latest commit Cannot retrieve latest commit at this time. HistoryHistory File metadata and controls Code Blame 4 lines (4 loc) · 86 Bytes Raw { "pre-commit": "pnpm lint-staged", "commit-msg": "pnpm commitlint --edi...
{ "git-hooks": { "pre-commit": "bun run lint && bun run test", "commit-msg": "bun commitlint --edit $1", "pre-push": "bun run build" } } CLI Usage # Install hooks from config git-hooks # alternatively, trigger the CLI with bunx bunx git-hooks bunx bun-git-hooks # Use ...