From f88307c37341b01be3167c35a5f340f1e9ca98f8 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 3 Dec 2024 18:17:11 +0100 Subject: [PATCH] feat: add taplo to config --- .lefthook.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.lefthook.yml b/.lefthook.yml index c508f529303..9e648abee37 100644 --- a/.lefthook.yml +++ b/.lefthook.yml @@ -31,3 +31,8 @@ pre-commit: glob: "*.rs" run: cargo fmt -- {staged_files} || true stage_fixed: true + toml: + tags: backend style + glob: "*.toml" + run: yarn run taplo format {staged_files} || true + stage_fixed: true