The following is a set of guidelines for contributing to Inspector.
Please use GitHub issues for discussions, feature requests and bugs. When opening an issue please make sure to choose correct label.
Please open an issue on GitHub and ensure the issue has not already been reported.
Please create an issue on Github and choose the type 'Feature request'.
- Fork the repo, create a branch, submit a PR when your changes are tested and ready for review
-
Keep a clean, concise and meaningful git commit history on your branch, rebasing locally and squashing before submitting a PR
-
Follow the guidelines of writing a good commit message as described here and summarized in the following points:
- In the subject line, use the present tense ("Add feature" not "Added feature")
- In the subject line, use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the subject line to 72 characters or less
- Reference issues and pull requests liberally after the subject line
- Add more detailed description in the body of the git message (
git commit -a
to give you more space and time in your text editor to write a good message instead ofgit commit -am
)
- Run gofumpt over your code to automatically resolve a lot of style issues.
- Run staticcheck and
go vet
on your code too to catch linting issues. - Use gotestdox to help with writing meaningful test names that describe tested behavior.