When contributing to this repository, please first discuss the change you wish to make via an issue.
Please note we have a code of conduct, please follow it in all your interactions with the project.
- Ensure any install or build dependencies are removed before the end of the layer when doing a build.
- Please mention the issue in your PR description.
- Expect to be taken seriously, if there are some feedbacks, feel free to discuss it, your opinion can be better than mine.
A library is easier to use, and easier for contributors to work on if it has a consistent, unified style, approach, and layout.
We are using pre-commit to lint before each commit, I would recommend you to use it.
pre-commit install
Every feature or bug should come with an associate test to keep the coverage as high as possible.
We are maintaining 2 documentations:
- README.md which contains everything you need to know to start working with the module.
- go-feature-flag website which is the full detail documentation of the module.
If your contribution has impact on the documentation, please check both version.
Sonarcloud is used in the project, it will comment your PR to give you feedback on your code.
We have a list of steps on each PR.
The CI is running:
- Tests
- Coverage
- Code quality
With this CI you will have feedbacks on your PR after opening your PR. Please review it if it fails.