From b94b0e8b72fca7b6859c0fb1b9e4967cddf451ba Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Tue, 30 Dec 2025 13:26:50 +0300 Subject: [PATCH] fix(setup): Fix pre-push lint and format from all files to push_files --- lefthook.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lefthook.yml b/lefthook.yml index 4f98201..668f877 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -20,7 +20,9 @@ pre-push: run: yarn svelte-check --threshold warning format-check: - run: yarn dprint check + glob: "*.{ts,js,svelte,json,md}" + run: yarn dprint check {push_files} lint-full: - run: yarn oxlint . + glob: "*.{ts,js,svelte}" + run: yarn oxlint {push_files}