🎉 Thank you for wishing to collaborate to the wretch library!
Ideas, feedback and help are more than welcome.
git clone https://github.com/elbywan/wretch
cd wretch
npm install
npm start
# To run browser specs
npm run test:karma # same as the ci
npm run test:karma:watch # in watch mode
The code must pass the linter and specs.
If you add a new functionality, please write some tests!
If a linter rule which is not already set in the .eslintrc.js
file is bothering you, feel free to propose a change.
If the modification is related to an existing issue, please mention the number in the commit message. (for instance: closes #10
)
Also in order to generate a nice changelog file, please begin your commit message with an emoji corresponding to the change:
- 🔥
:fire:
-> breaking change - 🐛
:bug:
-> bug fix - 🏭
:factory:
-> new feature - 🎨
:art:
-> code improvement - 🏁
:checkered_flag:
-> performance update - ✅
:white_check_mark:
-> test improvement - 📝
:memo:
-> documentation update - ⬆️
:arrow_up:
-> package update
Furthermore, starting the actual message content with an upper case and using the present tense and imperative mood would be great.
And last but not least, always rebase your branch on top of the origin/master branch!