Turns out, I don't need this if I'm not going to be changing how the hook operates.
This commit is contained in:
parent
89fb8188b7
commit
a89cbe5bb0
|
@ -1,23 +0,0 @@
|
||||||
---
|
|
||||||
- id: fmt
|
|
||||||
name: fmt
|
|
||||||
description: Format files with cargo fmt.
|
|
||||||
entry: cargo fmt
|
|
||||||
language: system
|
|
||||||
types: [rust]
|
|
||||||
args: ["--"]
|
|
||||||
- id: cargo-check
|
|
||||||
name: cargo check
|
|
||||||
description: Check the package for errors.
|
|
||||||
entry: cargo check
|
|
||||||
language: system
|
|
||||||
types: [rust]
|
|
||||||
pass_filenames: false
|
|
||||||
- id: clippy
|
|
||||||
name: clippy
|
|
||||||
description: Lint rust sources
|
|
||||||
entry: cargo clippy
|
|
||||||
language: system
|
|
||||||
args: ["--", "-D", "warnings"]
|
|
||||||
types: [rust]
|
|
||||||
pass_filenames: false
|
|
Loading…
Reference in New Issue