From 7db97755b5122e45ec2e47a3595285c58949b6e2 Mon Sep 17 00:00:00 2001 From: "WANGFAN\\wangf" <15871339963@163.com> Date: Thu, 5 Dec 2024 17:45:29 +0800 Subject: [PATCH] =?UTF-8?q?test=E6=B5=8B=E8=AF=95=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 8 ++++++++ src/App.vue | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index addcf6d..d1c0686 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,14 @@ "prepare": "husky install", "preinstall": "npx only-allow pnpm" }, + "lint-staged": { + "src/**/*.{ts,vue}": [ + "eslint" + ], + "test/**/*.{ts,tsx,js,vue}": [ + "eslint" + ] + }, "dependencies": { "@arco-design/color": "^0.4.0", "@codemirror/lang-javascript": "^6.2.2", diff --git a/src/App.vue b/src/App.vue index b052a8a..a396120 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,7 +8,7 @@ import { loadingPage } from "@/utils/loading-page"; import { useThemeMethods } from "@/hooks/useThemeMethods"; -let a = "12345323"; +let a = "12345323234"; // 初始化主题 const onTheme = () => {