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