Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 938 Bytes

CONTRIBUTING.md

File metadata and controls

31 lines (22 loc) · 938 Bytes

参与贡献

  1. Fork 项目
  2. 安装依赖 (yarn install)
  3. 创建你的特性分支 (git checkout -b my-new-feature)
  4. 提交你的修改 (git commit -am 'Added some feature')
  5. 测试你的修改 (yarn test)
  6. 推送分支 (git push origin my-new-feature)
  7. 创建 Pull Request

开发

  • 使用 Node 16+ 运行环境
  • 使用 Yarn 作为包管理工具
  • 使用 ECMAScript 模块规范

测试

使用 Jest 作为测试套件。测试命令:

yarn test

编码规范

使用 ESLinteditorconfig 保持代码风格和最佳实践。请确保你的 PR 符合指南的要求,检测命令:

yarn lint