Thank you for considering contributing to json-server. We want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
We use GitHub to sync code to and from our internal repository. We'll use GitHub to track issues and feature requests, as well as accept pull requests.
Pull requests are the best way to propose changes to the codebase. We actively welcome your pull requests:
- Fork the repo and create your branch from
master
. - If you've added code that should be tested, add tests.
- Make sure your code lints. (
golangci-lint run
) - Ensure the test suite passes. (
go test ./...
) - Issue that pull request
We use GitHub issues to track public bugs. Report a bug by opening a new issue; it's that easy!
Please ensure your description is clear and has sufficient instructions to be able to reproduce the issue.
- gofmt
- goimports
- golangci-linter
Please read the full text so that you can understand what actions will and will not be tolerated.
By contributing to json-server, you agree that your contributions will be licensed under its MIT license.