Make sure the report is accompanied by a reproducible demo. The ideal demo is created by forking our standard jsFiddle, adding your own code and stripping it down to an absolute minimum needed to demonstrate the bug.
This project use Prettier for its code formatting. The goal is to be sure that all code pushed to this repository has the same style. A git hook is set up to format all the edited files on commit.
To contribute to the project, please follow these steps:
- Get approval for the idea by filing an issue and talking with me about the changes
- Fork the repo
- Make a branch for your change
- Run
npm install
- Run
npm run test
- Make your changes
- Test your changes (if you need a new test file, please copy the
test-template.js
file in the tests/specs folder.) - Run
npm run build
to generate the dist files - Run
git add -A
to add your changes - Run
npm run commit
(Do not usegit commit
) - follow the prompts to create your git message - Push your changes with
git push
- Create the Pull Request (a demo showing what the PR does is always good so you can fork this fiddle)
- If there are several commits, please rebase and squash everything to only get one commit.
- Get merged and celebrate
Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub