From 39d32155bf7af76a5ac851254ef041aecb6d7a99 Mon Sep 17 00:00:00 2001 From: yetone Date: Wed, 25 Sep 2024 17:05:55 +0800 Subject: [PATCH] chore: pre-commit-rust (#630) --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e12e8ab..fe46607 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,3 +10,8 @@ repos: hooks: - id: stylua-github # or stylua-system / stylua-github files: \.lua$ +- repo: https://github.com/doublify/pre-commit-rust + rev: master + hooks: + - id: fmt + - id: cargo-check