From 480be885084f30ab195c58a7033ca86278d96d78 Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Sun, 2 Mar 2025 14:11:07 -0600 Subject: [PATCH] Make lefthook use biome --- lefthook.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lefthook.yml b/lefthook.yml index 06eb0446ee5..175f67c695b 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -3,7 +3,7 @@ pre-commit: commands: eslint: glob: "*.{js,jsx,ts,tsx}" - run: npx eslint --fix {staged_files} + run: npx @biomejs/biome lint --write {staged_files} stage_fixed: true skip: - merge @@ -13,7 +13,7 @@ pre-push: commands: eslint: glob: "*.{js,ts,jsx,tsx}" - run: npx eslint --fix {push_files} + run: npx @biomejs/biome lint --write {push_files} post-merge: commands: