Add a clippy
hook.
This commit is contained in:
parent
c9d5fe3776
commit
06f8e3769e
|
@ -12,3 +12,10 @@
|
|||
language: system
|
||||
files: \.rs$
|
||||
pass_filenames: false
|
||||
- id: cargo-clippy
|
||||
name: cargo clippy
|
||||
description: Run the Clippy linter on the package.
|
||||
entry: cargo clippy -- -D warnings
|
||||
language: system
|
||||
files: \.rs$
|
||||
pass_filenames: false
|
||||
|
|
Loading…
Reference in a new issue