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