First, thank you for contributing to DIM! We're a community-driven project and we appreciate improvements large and small.
Here are some tips to make sure your pull request can be merged smoothly:
- If you want to add a feature or make some change to DIM, consider filing an issue describing your idea first. This will give the DIM community a chance to discuss the idea, offer suggestions and pointers, and make sure what you're thinking of fits with the style and direction of DIM.
- Resist the temptation to change more than one thing in your PR. Keeping PRs focused on a single change makes them much easier to review and accept. If you want to change multiple things, or clean up/refactor the code, make a new branch and submit those changes as a separate PR.
- Please follow the existing style of DIM code when making your changes. While there's certainly room for improvement in the DIM codebase, if everybody used their favorite code style nothing would match up.
- You can use any ES6/ES2015 features supported by a reasonably modern Chrome version.
- Take advantage of the native JavaScript Array methods and the Underscore library to write compact, easy-to-understand code.
- Be sure to run
grunt eslint
before submitting your PR - it'll catch most style problems and make things much easier to merge. - Don't forget to add a description of your change to
CHANGELOG.md
so it'll be included in the release notes!
If you're looking to get started contributing to DIM, check out the Quick Start section of our README.