Add fmt arguments example to readme

This commit is contained in:
DanielChabrowski 2020-06-20 03:04:58 +02:00
parent a76233c81c
commit 2630d3537d

View file

@ -11,3 +11,13 @@
- id: fmt - id: fmt
- id: cargo-check - id: cargo-check
``` ```
## Passing arguments to rustfmt
```yaml
- repo: https://github.com/doublify/pre-commit-rust
rev: master
hooks:
- id: fmt
args: ['--verbose', '--edition', '2018', '--']
```