Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.47 KB

CONTRIBUTING.md

File metadata and controls

25 lines (21 loc) · 1.47 KB

Contributing

ARRRRR, don't be a filthy landlubber, contribute to pirates!

Filing Issues

ARRRRR, thanks for filing an issue matey. Make sure to include the version!

Writing Code / Submitting PRs

ARRRRRRRR, thanks so much for contributing to pirates, matey. Here's what you need to know:

  1. Pirates is in lib/, tests are in test (see below for more on the tests)
  2. Test and lint your code with npm test.
  • We will not accept any code that does not have (and pass) tests for it, or fails linting (a few warnings are OK).
  1. Only known-good code will be merged into master, because...
  2. We use semantic-release, so whatever is in master is automatically published to npm.
  3. To make semantic-release work, we use the Angular commit message guidelines. Please make sure that all commits that you make follow them.
  • To assist with this, we support Commitizen, which makes committing easy.
  • If you have a commit that doesn't comply with the guidelines, walk the plank! No Problem! git commit --amend and git rebase -i ` are your friends.

Tests

See test/README.md for lots of good info on tests.