Contributing to Dough
August 9, 2020 Β· View on GitHub
ππ First off, thanks for taking the time to contribute! ππ
The following is a set of guidelines for contributing to Dough and its packages. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
Proposing a change
If you intend to change the public API, or make any non-trivial changes to the implementation, please file an issue first. This lets us reach an agreement on your proposal before you put significant effort into it.
If youβre only fixing a bug, please file an issue detailing what youβre fixing (before creating a pull request). This is helpful in case we donβt accept that specific fix but want to keep track of the issue.
Creating a pull request
Before creating a pull request please:
- Fork the repository and create your branch from
master. - Install all dependencies (
flutter packages getorpub get). - Squash your commits and ensure you have a meaningful commit message.
- If you've changed the public API, make sure to update/add documentation.
- Format your code (
dartfmt -w .). - Analyze your code (
dartanalyzer --fatal-infos --fatal-warnings .). - Create the Pull Request.
- Verify that all status checks are passing.
While the prerequisites above must be satisfied prior to having your pull request reviewed, the reviewer(s) may ask you to complete additional design work, tests, or other changes before your pull request can be ultimately accepted.
License
By contributing to Dough, you agree that your contributions will be licensed under its MIT license.
Attribution
This file was adapted from Felix Angelov's Equatable package.