chore: pre-commit-rust (#630)

This commit is contained in:
yetone 2024-09-25 17:05:55 +08:00 committed by GitHub
parent a016663cda
commit 39d32155bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,3 +10,8 @@ repos:
hooks: hooks:
- id: stylua-github # or stylua-system / stylua-github - id: stylua-github # or stylua-system / stylua-github
files: \.lua$ files: \.lua$
- repo: https://github.com/doublify/pre-commit-rust
rev: master
hooks:
- id: fmt
- id: cargo-check