mirror of
https://github.com/ast-grep/ast-grep.git
synced 2026-05-06 06:06:46 -04:00
[chore] add pre-commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
repos:
|
||||
- repo: https://github.com/doublify/pre-commit-rust
|
||||
rev: v1.0
|
||||
hooks:
|
||||
- id: fmt
|
||||
- id: cargo-check
|
||||
- id: clippy
|
||||
args: ["--all-targets", "--all-features", "--", "-D", "clippy::all"]
|
||||
Reference in New Issue
Block a user