pre-commit-rust/.pre-commit-hooks.yaml

8 lines
169 B
YAML
Raw Normal View History

2017-04-13 13:30:33 +01:00
- id: fmt
name: fmt
description: Format files with rustfmt.
2017-12-29 22:32:34 +00:00
entry: cargo fmt --
2017-04-13 13:30:33 +01:00
language: system
2017-04-17 10:18:15 +01:00
files: \.rs$
2017-04-13 13:30:33 +01:00
args: ['--write-mode=overwrite']