@@ -1,26 +1,26 @@
-module.exports = {
- extends: ["@commitlint/config-conventional"],
- rules: {
- "type-enum": [
- 2,
- "always",
- [
- "init",
- "build",
- "ci",
- "chore",
- "docs",
- "feat",
- "fix",
- "perf",
- "refactor",
- "revert",
- "style",
- "test",
- ],
- },
-};
+// module.exports = {
+// extends: ["@commitlint/config-conventional"],
+// rules: {
+// "type-enum": [
+// 2,
+// "always",
+// [
+// "init",
+// "build",
+// "ci",
+// "chore",
+// "docs",
+// "feat",
+// "fix",
+// "perf",
+// "refactor",
+// "revert",
+// "style",
+// "test",
+// ],
+// },
+// };
/**
* build : 改变了build工具 如 webpack
* ci : 持续集成新增
@@ -1,7 +0,0 @@
-#!/usr/bin/env sh
-. "$(dirname -- "$0")/_/husky.sh"
-
-echo "husky commit-msg-lint start"
-npx --no -- commitlint --edit ""
-echo "husky commit-msg-lint end"
@@ -1,6 +0,0 @@
-#!/bin/sh
-. "$(dirname "$0")/_/husky.sh"
-echo "husky lint-staged start"
-npx lint-staged
-echo "husky lint-staged end"