From cf8b1120b157328e9828061880fee53b95915591 Mon Sep 17 00:00:00 2001 From: yangmi Date: Wed, 20 Jul 2022 18:27:14 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20eslint=E9=85=8D=E7=BD=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=EF=BC=8C=E8=A7=A3=E5=86=B3vue3=E5=AE=8F=E7=BC=96?= =?UTF-8?q?=E7=A8=8Bvscode=E6=8F=90=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 1 + .gitignore | 1 + .husky/commit-msg | 4 ---- 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 .husky/commit-msg diff --git a/.eslintrc.js b/.eslintrc.js index 2b737770..3786b486 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -13,6 +13,7 @@ module.exports = { }, }, env: { + 'vue/setup-compiler-macros': true, node: true, }, extends: ["plugin:vue/vue3-essential", "eslint:recommended"], diff --git a/.gitignore b/.gitignore index 60a4aff1..e8de8f67 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules +.husky .DS_Store dist dist-ssr diff --git a/.husky/commit-msg b/.husky/commit-msg deleted file mode 100644 index 42cdacde..00000000 --- a/.husky/commit-msg +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -npx --no-install commitlint -e