2020-11-17 17:04:06 +08:00

16 lines
845 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 书写规范
:tada: :100:
::: tip
① 接口文档使用Swagger
② 编写者必须严格遵守项目中tslint编写规则
③ 编写者必须严格遵循代码命名语义化、提高代码可读性
④ 编写者编写代码完毕必须经过单元测试,保证代码可用性
⑤ 编写必须完全使用TypeScript保证代码严谨性、可维护性
⑥ 编写者提交代码发生冲突必须先解决在推送严禁使用git push -f origin 分支
⑦ vue代码请放在vue-ts分支下react代码请放在react-ts分支下angular代码请放在angular-ts分支下
:::
::: danger
管理者严禁将代码直接推送或合并到main分支main分支只用来存放后端代码和文档代码这样避免了首次拉取代码需要等很长时间代码整体编写完毕后会合并到main分支
:::