Skip to content

Commit c3874dd

Browse files
committed
feat: update
1 parent fb8f4e4 commit c3874dd

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

README.en-US.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,8 @@ To ensure code consistency and standardization during team collaboration, the pr
4343

4444
### 💡 Efficient Code Standard Management
4545

46-
- **ESLint**: Code style and error checking
47-
- **Prettier**: Unified code formatting
48-
- **Stylelint**: Style linting tool
49-
- **Commitlint + Husky + Lint-Staged**: Git Hooks for code commit standardization
46+
- **@antfu/eslint-config**: Pre-configured ESLint rules that cover best practices and common error detection, helping developers write high-quality TypeScript and JavaScript code.
47+
- **simple-git-hooks**: Automatically runs code checks and formatting via Git Hooks, ensuring that every commit and push conforms to project standards, reducing code review workload, and improving code consistency.
5048
- **EditorConfig**: Unified editor configuration
5149

5250
## Summary

README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,10 @@ GitHub 项目地址:[React-Mobile-Template](https://github.com/huangmingfu/rea
4848

4949
### 💡 高效的代码规范管理
5050

51-
除了代码结构的规范化,项目还集成了多种代码质量检查工具,确保开发体验与代码质量:
51+
除了代码结构的规范化,项目还集成了极简代码质量检查工具,确保开发体验与代码质量:
5252

53-
- **ESLint**:代码风格和错误检查,已升级到最新版,弃用 `.eslintignore`,改用 `ignores` 配置项。
54-
- **Prettier**:统一代码格式,避免团队协作中因格式问题产生的冲突。
55-
- **Stylelint**:针对样式的 Lint 工具,确保 SCSS 代码的一致性。
56-
- **Commitlint** + **Husky** + **Lint-Staged**:配合 Git Hooks 实现代码提交规范化,避免低质量代码入库。
53+
- **@antfu/eslint-config**:预配置了 ESLint 规则,涵盖了最佳实践和常见错误检测,帮助开发者编写高质量的代码。
54+
- **simple-git-hooks**:通过 Git Hooks 自动执行代码检查和格式化,确保每次提交和推送的代码都符合项目规范,减少代码审查的工作量并提高代码一致性。
5755
- **EditorConfig**:编辑器的统一配置,减少因编辑器差异产生的问题。
5856

5957
## 其他

0 commit comments

Comments
 (0)