mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
add obs checker
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
# 自动修复 ESLint 检测到的问题
|
||||
npx eslint --fix 'src/**/*.{js,jsx,ts,tsx}' || true
|
||||
|
||||
# 使用 Prettier 格式化代码
|
||||
npx prettier --write 'src/**/*.{js,jsx,ts,tsx,json,css,md}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user