pre-commit-rust/hooks.yaml
2017-12-30 01:32:34 +03:00

8 lines
169 B
YAML

- id: fmt
name: fmt
description: Format files with rustfmt.
entry: cargo fmt --
language: system
files: \.rs$
args: ['--write-mode=overwrite']