The CONTRIBUTING instructions ask contributors to run ./fix.sh:
|
#### Running the Fix Script |
|
|
|
Before committing your changes, you may consider the "fix" script located in the |
|
repository root. It will apply the necessary formatting and linting changes |
|
enforced by `rustfmt` and `clippy`: |
|
|
|
```bash |
|
# Run the script |
|
$ ./fix.sh |
|
``` |
|
|
|
This script will: |
|
|
|
- Run `cargo fix` for automatic fixes |
|
- Run `cargo clippy --fix` for lint fixes |
|
- Run `cargo fmt` for code formatting |
|
- Run `taplo fmt` for TOML formatting |
|
|
|
You may run those commands manually as well. |
However, this currently fixes a TON of tree-wide issues in a clean checkout. I'd run this myself and submit a PR but, IMO, that would just create unnecessary review work for the maintainers.
The CONTRIBUTING instructions ask contributors to run
./fix.sh:nh/CONTRIBUTING.md
Lines 73 to 91 in 0d62ae8
However, this currently fixes a TON of tree-wide issues in a clean checkout. I'd run this myself and submit a PR but, IMO, that would just create unnecessary review work for the maintainers.