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