👍🎉 First off, thanks for taking the time to contribute! 🎉👍
The following is a set of guidelines for contributing to the gatsby-source-stripe plugin. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
This project and everyone participating in it is governed by our Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to njosefbeck@gmail.com.
Before contributing to this project, take the time to read through the README. Additionally, be sure you are familiar with Gatsby. Specifically, read through the Gatsby documentation on creating a source plugin.
This section guides you through submitting a bug report. Following these guidelines helps maintainers and the community understand your report, reproduce the behavior, and find related reports.
Before creating bug reports, please check this list as you might find out that you don't need to create one. When you are creating a bug report, please include as many details as possible. Fill out the required template, the information it asks for helps us resolve issues faster.
Note: If you find a Closed issue that seems like it is the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one.
- Check the README. You might be running an un-supported version of Node or Gatsby with this plugin. The README gives details on what versions the plugin works with.
Bugs are tracked as GitHub issues. Create an issue and provide the following information by filling in the template.
Explain the problem and include additional details to help maintainers reproduce the problem:
- Use a clear and descriptive title for the issue to identify the problem.
- Describe the exact steps which reproduce the problem in as many details as possible.
- Provide specific examples to demonstrate the steps. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use Markdown code blocks.
- Describe the behavior you observed after following the steps and point out what exactly is the problem with that behavior.
- Explain which behavior you expected to see instead and why.
- Include screenshots and animated GIFs which show you following the described steps and clearly demonstrate the problem. If you use the keyboard while following the steps, record the GIF with the Keybinding Resolver shown. You can use this tool to record GIFs on macOS and Windows, and this tool or this tool on Linux.
- If the problem wasn't triggered by a specific action, describe what you were doing before the problem happened and share more information using the guidelines below.
Provide more context by answering these questions:
- Did the problem start happening recently (e.g. after updating to a new version of gatsby-source-stripe) or was this always a problem?
- If the problem started happening recently, can you reproduce the problem in an older version of Atom? What's the most recent version in which the problem doesn't happen?
- Can you reliably reproduce the issue? If not, provide details about how often the problem happens and under which conditions it normally happens.
This section guides you through submitting an enhancement suggestion, including completely new features and minor improvements to existing functionality. Following these guidelines helps maintainers and the community understand your suggestion and find related suggestions.
- Check the CHANGELOG unreleased section to see if your enhancement is already listed, but just not released yet.
- Perform a search through the issues to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
Enhancement suggestions are tracked as GitHub issues. Create an issue and provide the following information by filling in the template.
- Use a clear and descriptive title for the issue to identify the suggestion.
- Provide a step-by-step description of the suggested enhancement in as many details as possible.
- Provide specific examples to demonstrate the steps. Include copy/pasteable snippets which you use in those examples, as Markdown code blocks.
- Explain why this enhancement would be useful to most gatsby-source-stripe users.
Unsure where to begin contributing? You can start by looking through the help-wanted
issues:
- [Help wanted issues][help-wanted] - issues which should be a bit more involved than
beginner
issues.
Several notes to keep in mind as you add code to this project.
- If you add any dependencies to the project via package.json, keep in mind that we only use absolute versions of packages. For example,
2.2.6
instead of^2.2.6
. This helps maintain consistency across npm installs. Our.npmrc
file also helps enforce this. - For commits, we prefer the active voice / imperative mood. For more info (and a great article), check here
- Be sure to use the
npm run lint
andnpm run format
commands often, but especially before submitting a PR.
This document is an edited version of Atom's CONTRIBUTING.md.