We love pull requests. And following these guidelines will make your pull request easier to merge.
If you want to contribute but don't know what to do, take a look at these two labels: help wanted and good first issue.
Use GitHub interface for simple documentation changes, otherwise follow the steps below.
- If it's your first pull request, watch this amazing course by Kent C. Dodds.
- Install EditorConfig plugin for your code editor to make sure it uses correct settings.
- Fork the repository and clone your fork.
- Install dependencies:
npm install
.
We make use of Typescript along with ESLint to ensure a consistent coding style. All of the rules are defined inside the .eslintrc
file.
Always make sure to lint and test your code before pushing it to the GitHub.
npm test
Or run tests in watch mode:
npm run test:watch
Make sure you add sufficient tests for the change.
Please update the npm lock file (package-lock.json
) if you add or update dependencies.
-
If you have commit access to the repository and want to make a big change or not sure about something, make a new branch and open a pull request.
-
We're using Prettier to format code, so don't worry too much about code formatting.
-
Don't commit generated files, like minified JavaScript.
-
Don't change version numbers in
package.json
or theCHANGELOG.md
file.
All security issues must be reported privately via email and not through any of the public channels.
If you want to contribute but have any questions, concerns or doubts, feel free to ping maintainers. Ideally create a pull request with WIP
(Work in progress) in its title and ask questions in the pull request description.