Skip to content

Commit b86ff7e

Browse files
committed
[add] pre-commit hook for clippy.
1 parent 0392012 commit b86ff7e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,9 @@ repos:
2121
language: system
2222
name: Linting for lambda-rs & tools.
2323
types: [rust]
24+
- id: clippy
25+
entry: rustup run nightly cargo clippy --workspace --all-targets -- -D warnings
26+
language: system
27+
name: Clippy for lambda-rs & tools.
28+
pass_filenames: false
29+
types: [rust]

0 commit comments

Comments
 (0)