Debian Codegraph @

pirates/CONTRIBUTING.md

raw
1 # Contributing
2 ARRRRR, don't be a filthy landlubber, contribute to pirates!
3
4 ## Filing Issues
5 ARRRRR, thanks for filing an issue matey. Make sure to include the version!
6
7 ## Writing Code / Submitting PRs
8 ARRRRRRRR, thanks so much for contributing to pirates, matey. Here's what you need to know:
9 1. Pirates is in `lib/`, tests are in `test` (see below for more on the tests)
10 2. Test and lint your code with `npm test`.
11 * We will not accept any code that does not have (and pass) tests for it, or fails linting (a few warnings are OK).
12 3. Only known-good code will be merged into master, because...
13 4. We use [`semantic-release`][], so whatever is in master is automatically published to npm.
14 5. To make semantic-release work, we use the [Angular commit message guidelines][]. Please make sure that all
15 commits that you make follow them.
16 * To assist with this, we support [Commitizen][], which makes committing easy.
17 * If you have a commit that doesn't comply with the guidelines, ~~walk the plank!~~ No Problem! `git commit --amend
18 and `git rebase -i <last known good commit>` are your friends.
19
20 [Angular commit message guidelines]: https://github.com/ajoslin/conventional-changelog/blob/master/conventions/angular.md "Angular Commit Message Guidelines"
21 [`semantic-release`]: https://github.com/semantic-release/semantic-release "Semantic-Release"
22 [Commitizen]: https://github.com/commitizen/cz-cli "Commitizen"
23
24 ## Tests
25 See [`test/README.md`](test/README.md) for lots of good info on tests.