Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 814 Bytes

CONTRIBUTING.md

File metadata and controls

22 lines (18 loc) · 814 Bytes

Contributing to Henson

  1. Fork wfarr/henson
  2. Create a feature branch on your fork.
  3. Follow the style guide.
  4. Write tests for your changes.
  5. Commit your changes.
  6. Push to the branch.
  7. Submit a Pull Request on GitHub.

Style Guide

We follow a modified version of the GitHub Ruby Style Guide with a few exceptions inspired by Seattle.rb style:

  • Only include parentheses to clarify logical intent or for parsing order
  • Use of do...end is preferred if the in-line block would overflow 80 chars
  • Use of {...} is preferred for multi-line chaining blocks
  • Use symbol hash keys for all internal structured data
  • Use string hash keys for any external structured or unstructured data
  • Always use " over '. Just do it.