Skip to content

Commit 14b3e11

Browse files
author
Fadi Hadzh
authored
Merge pull request doublify#10 from teymour-aldridge/patch-1
Add a `clippy` hook.
2 parents 2c7d026 + 06f8e37 commit 14b3e11

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

hooks.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,10 @@
1212
language: system
1313
files: \.rs$
1414
pass_filenames: false
15+
- id: cargo-clippy
16+
name: cargo clippy
17+
description: Run the Clippy linter on the package.
18+
entry: cargo clippy -- -D warnings
19+
language: system
20+
files: \.rs$
21+
pass_filenames: false

0 commit comments

Comments
 (0)