Skip to content

Latest commit

 

History

History
85 lines (78 loc) · 2.12 KB

CONTRIBUTING.md

File metadata and controls

85 lines (78 loc) · 2.12 KB

Contributing

General Rules

  • As much as possible, try to follow the existing format of markdown and code.
  • Don't forget to run pnpm run check,pnpm run lint and pnpm test before submitting pull requests.
  • Make sure that 100% of your code is covered by tests.

Conventional Commits

Identifier Purpose
feat Introduce a new feature
fix Fix an error or defect
chore General maintenance tasks (e.g., build, configuration, dependencies)
docs Documentation changes (additions, updates, fixes)
style Changes in code style, formatting, whitespace, etc. (no impact on functionality)
refactor Code refactoring (typically, no functional changes)
perf Performance optimizations
test Changes related to tests (additions, updates, fixes)
build Changes to the build system or external dependencies
ci Changes related to continuous integration and deployment (CI/CD)
revert Revert a previous commit
merge Merge branches or pull requests
release Commits related to version releases

Contributing new features

  • To ensure that there are no conflicts when merging the branch into the main branch,
  • it is necessary to perform the following steps each time new development is going to be conducted on non-main branches:
  • git pull,
  • git rebase main
  • resolve conflicts before continuing the development.
  • After new features developed
  • git add .
  • git commit -m "feat: products list
  • git push
  • click the New pull request on Github https://github.com/zrwusa/data-structure-typed/branches

Contributing

  • Describe what you do in code using comments.