Skip to content

chore: 启用pre-commit,前端用Prettier+ESLint flat/recommended - #44

Merged
qwasfun merged 4 commits into
mainfrom
pre-commit
Feb 4, 2026
Merged

chore: 启用pre-commit,前端用Prettier+ESLint flat/recommended#44
qwasfun merged 4 commits into
mainfrom
pre-commit

Conversation

@qwasfun

@qwasfun qwasfun commented Feb 4, 2026

Copy link
Copy Markdown
Owner

No description provided.

- 升级 Black 版本,重命名前端格式化钩子为 Prettier,并新增 ESLint 预提交检查以加强前端代码风格与质量。
- 添加 pre-commit 依赖以支持提交前钩子检查。
- 引入 pre-commit 并锁定其依赖以启用预提交钩子和统一的开发流程。
- 切换到 Vue 的 ESLint flat 推荐配置并强制组件块按脚本、模板、样式顺序排列。
@railway-app
railway-app Bot temporarily deployed to archivenote / ArchiveNote-pr-44 February 4, 2026 13:50 Destroyed
@railway-app

railway-app Bot commented Feb 4, 2026

Copy link
Copy Markdown

🚅 Deployed to the ArchiveNote-pr-44 environment in archivenote

Service Status Web Updated (UTC)
ArchiveNote ✅ Success (View Logs) Web Feb 4, 2026 at 1:52 pm

@qwasfun
qwasfun merged commit 2bc8205 into main Feb 4, 2026
3 checks passed
@qwasfun
qwasfun deleted the pre-commit branch February 4, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant