Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 2.2 KB

CONTRIBUTING.md

File metadata and controls

44 lines (31 loc) · 2.2 KB

Contributing

Contributor

Thanks for taking you time to contribute to this repo. Before you start contributing please go through the following guidelines which we consider are important to maintain this repository and can help new contributers to open source.

  • Before you submit a pull request ensure a issue exists, describing the issue / feature request. If it doesn't please file an issue so that we could discuss about the issue before the actual PR is submitted.

  • The issue description should be sufficient enough to explain the bug/feature request and a possible solution / proposal.

  • We appreciate any contributions, from fixing a grammar mistake in the docs, improving code snippets to fixing a bug or making a feature requests and writing proper tests are also highly welcome.

  • Follow the dart best practices to maintain the quality of code.

  • Additional changes for publishing a release. Update the version in readme, pubspec.yaml, and update the changelog

Contributing

  1. Fork This repo
  2. Create a new branch
  3. Commit a Fix
  4. Add appropriate tests(recommended)
  5. Submit a PR referencing the issue
  6. Request a review
  7. wait for LGTM 🚀 comment

Publishing (Optional for contributors)

This part is mainly applicable to the maintainer of the repository but you are welcome to make the below changes which are required to publish the package. When publishing a new release of this package ensure all the checklist are completed.

  • ✅ Update the version in readme, pubspec.yaml, and update the changelog

  • ✅ Make sure the documentation is updated as per the new changes.

  • ✅ Make sure existing and new tests are passing by running flutter test

  • (Optional) To see the code coverage run the following commands

    flutter test --coverage
    genhtml coverage/lcov.info -o coverage/html
    open coverage/html/index.html
  • ✅ Make sure the code is well formatted.

  • ✅ ensure there are no linter warnings by running flutter analyze

  • ✅ Tag a package release in github related to #Issue 103

  • ✅ Publish the package by running flutter pub publish --dry-run and flutter pub publish