fix: Incorrect count
[ouch.git] / CONTRIBUTING.md
blob052d19a900cfccb93e59721a79cf8bbb616f4b1a
1 Thanks for your interest in contributing to `ouch`!
3 # Code of Conduct
5 We follow the [Rust Official Code of Conduct](https://www.rust-lang.org/policies/code-of-conduct).
7 # I want to ask a question or provide feedback
9 Create [an issue](https://github.com/ouch-org/ouch/issues) or go to [Ouch Discussions](https://github.com/ouch-org/ouch/discussions).
11 # Adding a brand new feature
13 Before opening the PR, open an issue to discuss your addition, this increases the chance of your PR being accepted.
15 # PRs
17 - Pass all CI checks.
18 - After opening the PR, add a [CHANGELOG.md] entry.
20 # Updating UI tests
22 In case you need to update the UI tests.
24 - Run tests with `insta` to create the new snapshots:
26 ```sh
27 cargo insta review # or
28 cargo insta review -- ui # useful filter
29 ```
31 - Now, review the diffs you just generated.
33 ```sh
34 cargo insta review
35 ```
37 - You can commit them now.
39 [CHANGELOG.md]: https://github.com/ouch-org/ouch