Explorar o código

git hooks test

chenkl %!s(int64=4) %!d(string=hai) anos
pai
achega
08bd8c6369
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  1. 2 1
      package.json
  2. 1 1
      src/libs/element.config.ts

+ 2 - 1
package.json

@@ -83,7 +83,8 @@
   },
   "lint-staged": {
     "src/**/*.{js,ts,vue}": [
-      "vue-cli-service lint"
+      "eslint --fix",
+      "git add"
     ]
   },
   "husky": {

+ 1 - 1
src/libs/element.config.ts

@@ -14,5 +14,5 @@ const elementConfig: ConfigElement = {
    */
   zIndex: 2000
 }
-
+const haha = ''
 export default elementConfig