From 979472d33debb8abb78c3949b5c53e57d3c282d0 Mon Sep 17 00:00:00 2001 From: Jungzl <13jungzl@gmail.com> Date: Thu, 21 Dec 2023 19:49:31 +0800 Subject: [PATCH] fix(ci): eslint on windows (#12492) (#12516) --- package.json | 2 +- .../generators/vue2/src/demo-button/index.vue | 2 +- .../generators/vue3/src/demo-button/index.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 1cc7b242d..18634ce90 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "scripts": { "prepare": "husky install", "dev": "pnpm --dir ./packages/vant dev", - "lint": "eslint ./packages/**/src ./packages/**/test --ext .js,.ts,.tsx,.vue,.mjs,.cjs", + "lint": "eslint \"./packages/**/{src,test}/**/*.{vue,ts,tsx,js,mjs,cjs}\"", "test": "pnpm --dir ./packages/vant test", "test:watch": "pnpm --dir ./packages/vant test:watch", "test:update": "pnpm --dir ./packages/vant test:update", diff --git a/packages/create-vant-cli-app/generators/vue2/src/demo-button/index.vue b/packages/create-vant-cli-app/generators/vue2/src/demo-button/index.vue index 29ac1d504..7e59e7bdf 100644 --- a/packages/create-vant-cli-app/generators/vue2/src/demo-button/index.vue +++ b/packages/create-vant-cli-app/generators/vue2/src/demo-button/index.vue @@ -6,7 +6,7 @@