Add prettier and husky to insure format before commit (#1)

This commit is contained in:
Yukko
2025-06-03 22:27:49 +08:00
committed by GitHub
parent 4130090fd7
commit 7994ecc100
7 changed files with 265 additions and 26 deletions

26
frontend/.prettierignore Normal file
View File

@@ -0,0 +1,26 @@
# 依赖目录
node_modules/
# 构建输出
dist/
build/
# 日志文件
*.log
# 环境变量文件
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# 包管理器文件
package-lock.json
yarn.lock
pnpm-lock.yaml
# 其他
.DS_Store
*.min.js
*.min.css