Skip to content

Latest commit

 

History

History
executable file
·
87 lines (74 loc) · 3.25 KB

CONTRIBUTING.md

File metadata and controls

executable file
·
87 lines (74 loc) · 3.25 KB

Hack Reactor Contribution Guidelines

These guidelines are a living document and are intended to make contributing to Hack Reactor projects a more pleasant experience for everyone. As such, it's expected to change over time. If there's anything that would help make your work easier or more efficient, please submit a pull request.

Specific Workflow

Files should encaspulate a single conceptual idea. Files should be named following the same format as commit messages.

General Workflow

  1. Fork the repo
  2. Create a feature branch, namespaced by.
  • bug/...
  • feat/...
  • test/...
  • doc/...
  • refactor/...
  1. Make commits to your feature branch. Prefix each commit like so:
  • (feat) Added a new feature
  • (fix) Fixed inconsistent tests [Fixes #0]
  • (refactor) ...
  • (cleanup) ...
  • (test) ...
  • (doc) ...
  1. When you've finished with your fix or feature, submit a pull request directly to master. Include a description of your changes.
  2. Your pull request's build status will appear on the pull request page. If your build fails, click 'Details' to find out why and fix the issue.
  3. Assign a task to your code reviewer in Asana. Include a link to the pull request.
  4. Your pull request will be reviewed by another maintainer. The point of code reviews is to help keep the codebase clean and of high quality and, equally as important, to help you grow as a programmer. If your code reviewer requests you make a change you don't understand, ask them why.
  5. Fix any issues raised by your code reviwer, and push your fixes as a single new commit.
  6. Once the pull request has passed CI and review, it can be merged.

Pull Requests

  1. Uphold the current code standard:
  2. Run the tests before submitting a pull request.
  3. Tests are very, very important. Submit tests if your pull request contains new, testable behavior.
  4. Your pull request is comprised of a single (squashed) commit.