First off, thanks for taking the time to contribute! 🎉👍
The following is a set of guidelines for contributing to plotly-node-export-server. These are not set in stone, but following these guidelines closely is usually considered good practice. Use your best judgment, and feel free to propose changes to this document in a pull request.
If you want to help out with one of our bugs or implement a new feature, here are some suggestions for success. The basic process looks like this:
- Fork the repository.
- Clone your fork to your development machine.
- Create your issue branch.
- Implement your feature or fix the bug and push the results to your fork.
- Send us a pull request.
You can find more info about creating a fork and pull request in the GitHub help articles. Our maintainers will review your pull request as soon as we can.
To summarize:
- Address only one issue with a single pull request.
- For new functionality, have a conversation with the maintainers before putting in too much work. Opening an issue is a good way to start the conversation.
- Finally, small pull requests are preferred. That way we can find time to review them between work, and family, and watching videos of cute cats jumping into cardboard boxes on the internet.
- Use the present tense ("Add feature" not "Added feature").
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...").
- Limit all lines of the commit message to 65 characters or less.
- Exception: When a line contains a URLs that is too long to fit into the character limit, do not add a line break after 65 characters.
- URLs (e. g. for linking to information about a vulnerability in a dependency)
should be enclose in angle brackets, e. g.
<https://example.com/>
. - For multi-line commit messages:
- Write the summary on the first line.
- Leave the second line empty.
- Then follow up with a more detailed explanation of the changes.
- When only changing documentation, include
[ci skip]
on a separate line in the commit message.
- Try to limit lines to 80 characters.
- Use spaces (not tabs) for indentation, two spaces per indentation level.