Skip to content

Commit 0eb714a

Browse files
committed
workflow: modify ESLint scope
1 parent 153a0e7 commit 0eb714a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,12 @@
121121
"zhlint": "latest"
122122
},
123123
"simple-git-hooks": {
124-
"pre-commit": "pnpm exec lint-staged --concurrent false",
124+
"pre-commit": "pnpm lint-staged",
125125
"commit-msg": "npx --no -- commitlint --edit ${1}"
126126
},
127127
"lint-staged": {
128128
"*.md": "case-police --fix",
129129
"docs/README.zh-CN.md": "zhlint --fix",
130-
"{scripts,src}": "eslint --cache --fix"
130+
"*.{vue,js,ts,mjs,mts,jsx,tsx,md,json}": "eslint --cache --fix"
131131
}
132132
}

0 commit comments

Comments
 (0)