Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 1.58 KB

CONTRIBUTING.md

File metadata and controls

55 lines (42 loc) · 1.58 KB

Contribution Guidelines

When you commit your messages, follow this convention : <type>: <subject> <BLANK LINE> <optional message>

For example:

feat: add validation commit msg file

Optionally, you can validate commit messages using the following commands.  These will add a git hook that will check if you follow the convention:
* `cd <famous-angular-repo>`
* `ln -s ../../validateCommitMsg.js .git/hooks/commit-msg`

Installation:
 * cd <famous-angular-repo>
 * ln -s ../../validate-commit-msg.js .git/hooks/commit-msg

The following types are accepted in the commit messages:

  • feat
  • fix
  • docs
  • style
  • refactor
  • perf
  • test
  • chore
  • revert

But only feat/fix/docs/perf will be in the changelog.

If you do a breaking change, add an explanation preceded by BREAKING CHANGE: . For example:

fix: remove deprecated promise unwrapping

BREAKING CHANGE: promise unwrapping has been removed.
It can no longer be turned on.

If you want to reference an issue, you can add a new line with either Closes or Fixes followed by the issue number. For example:

feat: add changelog auto generation

Usage: gulp changelog

Fixes #62

You can fix / close multiple issue with one commit, just add a new line for each.

CLA

Famo.us would like contributors to sign their CLA, a simple agreement clarifying copyright matters. This will be available online as an easy, click-through form shortly. In the meantime, please:

  1. Go ahead an make a PR
  2. Email [email protected] and ask for the CLA
  3. Confirm with a comment in the PR that you've signed the CLA