The following is a set of guidelines for contributing to AcidWatch.
We use prettier
as our code formatter. Format all of your code prior to commiting. There is a GitHub workflow with the check that must be successful in order for you to be able to merge a pull request to main
branch.
We strive to keep a consistent and clean git history in the main
branch and all contributions should adhere to the following:
- The commit message should be descriptive.
- Ideally, a commit should do one atomic change on the repository.
- All the changes should be accounted for and not go "implicitly".
We expect commit messages to follow this style:
- Separate subject from body with a blank line
- Limit the subject line to 50 characters
- Capitalize the subject line
- Do not end the subject line with a period
- Use the imperative mood in the subject line
- Wrap the body at 72 characters
- Use the body to explain what and why vs. how
The list is taken from this post. Feel free to read it for more detailed explanations.
Every commit in the main
branch should be added through a pull request.
Ideally a pull request will be small in scope and atomic.
If you are fixing a minor detail in addition to the scope of your PR (formatting, linting, moving, simple refactoring ...), please make sure that this results in a separate commit.
If you find that you want to do lots of changes that are not directly related to the issue you're working on, consider creating a separate PR.