fix(ci): eslint on windows (#12492) (#12516)

This commit is contained in:
Jungzl 2023-12-21 19:49:31 +08:00 committed by GitHub
parent 26069ecac4
commit 979472d33d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
"scripts": { "scripts": {
"prepare": "husky install", "prepare": "husky install",
"dev": "pnpm --dir ./packages/vant dev", "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": "pnpm --dir ./packages/vant test",
"test:watch": "pnpm --dir ./packages/vant test:watch", "test:watch": "pnpm --dir ./packages/vant test:watch",
"test:update": "pnpm --dir ./packages/vant test:update", "test:update": "pnpm --dir ./packages/vant test:update",

View File

@ -6,7 +6,7 @@
<script> <script>
export default { export default {
name: 'demo-button', name: 'DemoButton',
props: { props: {
color: String, color: String,

View File

@ -6,7 +6,7 @@
<script> <script>
export default { export default {
name: 'demo-button', name: 'DemoButton',
props: { props: {
color: String, color: String,