26 lines
919 B
Markdown
26 lines
919 B
Markdown
# Contributing
|
|
|
|
Contributions are **welcome** and will be fully **credited**.
|
|
|
|
Contributions can be made via a Pull Request on [Github](https://github.com/mike182uk/timestring).
|
|
|
|
## Pull Requests
|
|
|
|
- **[Node coding style](https://github.com/felixge/node-style-guide)** - [JSCS](http://jscs.info/). Make sure you run `npm run sa` before committing your code.
|
|
|
|
- **Add tests where appropriate** - [Mocha](http://mochajs.org/), [Chai](http://chaijs.com/)
|
|
|
|
- **Document any change in behavior** - Make sure the README and any other relevant documentation are kept up-to-date.
|
|
|
|
- **Create topic branches** - i.e `feature/some-awesome-feature`.
|
|
|
|
- **One pull request per feature**
|
|
|
|
- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please squash them before submitting.
|
|
|
|
## Running Tests
|
|
|
|
```bash
|
|
npm test
|
|
```
|