generated from bradgarropy/node-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
118 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
# π¨πΌβπ» contributing | ||
|
||
I would love your help to improve this project! Here are a few ways to contribute, and some guidelines to help you along the way. | ||
|
||
## π issues | ||
|
||
If you come across any bugs or something that doesn't seem right, please [open an issue][issues]. Also, if you have an idea for the project, open an issue to start the discussion. | ||
|
||
When possible, please include a link to a `git` repository or a [CodeSandbox][codesandbox] which illustrates the problem you're facing. This is especially important when you find a bug. | ||
|
||
## π pull requests | ||
|
||
Yes, I accept pull requests! You can submit a pull request to fix a bug, implement a feature, add tests, or improve the documentation. | ||
|
||
If you've never created a pull request before, you can [learn how][kcd-pr] for free! | ||
|
||
### π setup | ||
|
||
In order to submit a pull request, you'll have to setup your own development environment. Start by [forking][fork] the repository. | ||
|
||
Then you can clone the forked repository to your system. | ||
|
||
```bash | ||
git clone https://github.com/<username>/hue-sdk | ||
``` | ||
|
||
Next you need to install the dependencies. | ||
|
||
```bash | ||
cd hue-sdk | ||
npm install | ||
``` | ||
|
||
Finally, you can build and test the project. | ||
|
||
```bash | ||
npm run test | ||
npm run build | ||
``` | ||
|
||
Now you're ready to start writing code! | ||
|
||
### π format | ||
|
||
When writing your code, please try to follow the existing code style. | ||
|
||
Your code will be automatically linted and formatted before each commit. However, if you want to manually lint and format, use the provided `npm` scripts. | ||
|
||
```bash | ||
npm run lint:fix | ||
npm run format:fix | ||
``` | ||
|
||
### π§ͺ tests | ||
|
||
The project maintains `100%` test coverage. If you change code, please maintain complete test coverage. You can run the tests to confirm. | ||
|
||
```bash | ||
npm run test | ||
``` | ||
|
||
### π documentation | ||
|
||
If you make any changes that require documentation updates, please include them in the same pull request. | ||
|
||
### πΉ commits | ||
|
||
This project do not enforce a specific commit style. However, if you submit a pull request that closes an issue, please reference it in the commit message. | ||
|
||
```bash | ||
git commit -m "Fix a bug. Closes #1." | ||
``` | ||
|
||
### π¬ feedback | ||
|
||
Once your pull request is submitted, I may provide you with some feedback. While working on the feedback, please move the pull request to `Draft` state. Once you've finished addressing the feedback, mark the pull request as `Ready for review` and mention me in a comment. | ||
|
||
``` | ||
Alright @bradgarropy, how's this? | ||
``` | ||
|
||
### β license | ||
|
||
Any code you contribute is subject to the [MIT license][license]. | ||
|
||
## β¨ contributors | ||
|
||
I appreciate any and all types of contributions to this project! Contributors are recognized here and in the [`readme`][contributors]. | ||
|
||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> | ||
<!-- prettier-ignore-start --> | ||
<!-- markdownlint-disable --> | ||
<table> | ||
<tr> | ||
<td align="center"><a href="https://bradgarropy.com"><img src="https://avatars.githubusercontent.com/u/11336745?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Brad Garropy</b></sub></a><br /><a href="https://github.com/bradgarropy/hue-sdk/commits?author=bradgarropy" title="Code">π»</a> <a href="https://github.com/bradgarropy/hue-sdk/commits?author=bradgarropy" title="Documentation">π</a> <a href="https://github.com/bradgarropy/hue-sdk/commits?author=bradgarropy" title="Tests">β οΈ</a> <a href="#infra-bradgarropy" title="Infrastructure (Hosting, Build-Tools, etc)">π</a></td> | ||
<td align="center"><a href="https://github.com/willparr"><img src="https://avatars.githubusercontent.com/u/52459758?v=4?s=100" width="100px;" alt=""/><br /><sub><b>willparr</b></sub></a><br /><a href="https://github.com/bradgarropy/hue-sdk/commits?author=willparr" title="Code">π»</a> <a href="https://github.com/bradgarropy/hue-sdk/commits?author=willparr" title="Documentation">π</a> <a href="https://github.com/bradgarropy/hue-sdk/commits?author=willparr" title="Tests">β οΈ</a></td> | ||
</tr> | ||
</table> | ||
|
||
<!-- markdownlint-restore --> | ||
<!-- prettier-ignore-end --> | ||
|
||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
|
||
[issues]: https://github.com/bradgarropy/hue-sdk/issues | ||
[codesandbox]: https://codesandbox.io | ||
[kcd-pr]: https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github | ||
[license]: https://github.com/bradgarropy/hue-sdk/blob/master/license | ||
[fork]: https://github.com/bradgarropy/hue-sdk/fork | ||
[contributors]: https://github.com/bradgarropy/hue-sdk#-contributors |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters