pre-commit-rust/hooks.yaml
2019-05-05 20:17:37 -03:00

15 lines
319 B
YAML

- id: fmt
name: fmt
description: Format files with rustfmt.
entry: rustfmt --
language: system
files: \.rs$
args: []
- id: cargo-check
name: cargo check
description: Check the package for errors.
entry: cargo check
language: system
files: \.rs$
pass_filenames: false