2017-09-29 01:02:46 +04:00
|
|
|
# Contributing
|
|
|
|
We love pull requests from everyone.
|
|
|
|
By participating in this project, you agree to abide by the
|
|
|
|
[code of conduct](https://opensource.guide/how-to-contribute).
|
2017-05-30 16:03:39 +03:00
|
|
|
|
2017-09-29 01:02:46 +04:00
|
|
|
Fork, then clone the repo:
|
|
|
|
```bash
|
|
|
|
git clone git@github.com:<username>/iii-client.git
|
|
|
|
```
|
2017-05-30 16:03:39 +03:00
|
|
|
|
2017-09-29 01:02:46 +04:00
|
|
|
Set up your machine:
|
|
|
|
```bash
|
|
|
|
npm install --only=development
|
|
|
|
```
|
2017-05-30 16:03:39 +03:00
|
|
|
|
2017-09-29 01:02:46 +04:00
|
|
|
Make sure the tests pass:
|
|
|
|
```bash
|
|
|
|
npm run test
|
|
|
|
```
|
2017-05-30 16:03:39 +03:00
|
|
|
|
2017-09-29 01:02:46 +04:00
|
|
|
Make your change.
|
|
|
|
Add tests for your change.
|
|
|
|
Make the tests pass:
|
|
|
|
```bash
|
|
|
|
npm run check
|
|
|
|
npm run test
|
|
|
|
```
|
2017-05-30 16:03:39 +03:00
|
|
|
|
2017-09-29 01:02:46 +04:00
|
|
|
Push to your fork and
|
|
|
|
[submit a pull request](https://github.com/valentineus/iii-client/compare).
|
|
|
|
|
|
|
|
Some things that will increase the chance that your pull request is accepted:
|
|
|
|
* Write tests.
|
|
|
|
* Follow our
|
|
|
|
[style guide](https://eslint.org/docs/about).
|
|
|
|
* Write a
|
|
|
|
[good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
|