Merge pull request #10 from teymour-aldridge/patch-1
Add a `clippy` hook.
This commit is contained in:
commit
14b3e118cf
|
@ -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