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

8 lines
164 B
YAML
Raw Normal View History

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