Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.96 KB

CONTRIBUTING.md

File metadata and controls

41 lines (28 loc) · 1.96 KB

Contributing

Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub

Steps

  1. File an issue and discuss your proposed solution first
  2. Fork and clone the repo
  3. $ npm install to install dependencies
  4. $ npm run validate to validate you've got it working
  5. Create a branch for your PR
  6. $ npm run test -- --watch to watch the file system as you make changes to things
  7. Make your changes. Make sure to add yourself to the .all-contributorsrc! More info
  8. Run npm run validate to make sure things look good.
  9. Commit your changes following our standards (optionally use $ npm run commit to craft a commit message and commit. If you're having trouble committing, try adding --no-verify to your git commit command and ask for help in the pull request :-)
  10. Push your branch to your fork
  11. Make a pull request to master on this repository
  12. Get merged
  13. Celebrate 🎉

Committing and Pushing changes

As stated earlier, please follow this convention for your commit messages.

Once you are ready to commit the changes, please use the below commands

  1. git add <files to be comitted>
  2. $ npm run commit

... and follow the instruction of the interactive prompt.

Opt into run tests while committing

npm run commit will not execute any tests, prior commiting, however you can opt into it.

In order to execute tests automatically before commit, create a file .opt-in in the root of the project with pre-commit as the content.

Excute the following command in the root of the project to create the above stated file.

$ echo pre-commit > .opt-in