From 321d0a7dd8a7dafb887bacc21c40155d0696f62f Mon Sep 17 00:00:00 2001 From: GuySerfaty Date: Mon, 5 Feb 2024 12:52:37 +0200 Subject: [PATCH] fix: bring back --- lefthook.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/lefthook.yml b/lefthook.yml index 3f92eee..82354c0 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -1,14 +1,14 @@ -# pre-commit: -# parallel: true -# commands: -# lint: -# glob: "*.{js,ts,jsx,tsx}" -# run: npx eslint {staged_files} -# types: -# glob: "*.{js,ts, jsx, tsx}" -# run: npx tsc --noEmit -# commit-msg: -# parallel: true -# commands: -# commitlint: -# run: npx commitlint --edit +pre-commit: + parallel: true + commands: + lint: + glob: '*.{js,ts,jsx,tsx}' + run: npx eslint {staged_files} + types: + glob: '*.{js,ts, jsx, tsx}' + run: npx tsc --noEmit +commit-msg: + parallel: true + commands: + commitlint: + run: npx commitlint --edit