#Contributing to meteor-mentor
##About This doc provides a set of rules for user contributions like bug reports, pull requests etc. We're happy for every contribution, but when following these guidelines it's easier to merge pull requests and answer to issues.
##Submitting Bugs Before submitting a bug, please do the following:
- Do local troubleshooting. Check if you are on the newest version. Try older versions.
- Check if there's already an issue/bug report in the issue list.
- If it's a question and not a bug, please contact the slack channel instead.
What to put in your bug report Give us all the information you have.
- Version
- Operating System
- How to recreate
- Stacktrace
##Contributing
Always make a new branch for your work - no matter how small.
Use different branches/pull requests for different topics - don't submit one messy commit.
By contributing, you accept the MIT licencing of your work.
Where to base your branch:
- If it's a bugfix base it one the branch the bug was introduced, so we can merge it forward in all branches.
- If it's sth. new base it on master.
##Code formatting Activate eslint in your editor and fix all the issues it lints.
##Documentation
This is a cumminity applications.
That means there will hopefully be a lot of different people developing on it over the time.
Please document your code so someone else has a slight chance to
- understand what you did
- understand why it doesn't work
##Tests
##Full example ###Preparing the fork
- Hit 'fork' on github
- Clone your project: git clone [email protected]:yourname/theproject
- Create a branch: cd theproject; git checkout -b my-feature
###Making your Changes
- Run Tests
- Write Tests for your changes
- Code your changes
- Make sure all tests pass
- Commit your changes: git commit -m "Foo the bars"
###Creating Pull Requests
- Push your commit to get it back up to your fork: git push origin HEAD
- Visit Github, click “Pull request” button.
- In the description field, write down issue number (if submitting code fixing an existing issue) or describe the issue + your fix (if submitting a wholly new bugfix).
- Hit ‘submit’!