snow преди 5 месеца
родител
ревизия
ae5c75c78d
променени са 3 файла, в които са добавени 23 реда и са изтрити 36 реда
  1. 23 23
      .commitlintrc.js
  2. 0 7
      .husky/commit-msg
  3. 0 6
      .husky/pre-commit

+ 23 - 23
.commitlintrc.js

@@ -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 : 持续集成新增

+ 0 - 7
.husky/commit-msg

@@ -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"

+ 0 - 6
.husky/pre-commit

@@ -1,6 +0,0 @@
-#!/bin/sh
-. "$(dirname "$0")/_/husky.sh"
-
-echo "husky lint-staged start"
-npx lint-staged
-echo "husky lint-staged end"