Commit 3efc9eb

Ashis Kumar Pradhan <38760485+akp111@users.noreply.github.com>
2025-03-04 11:02:02
chore: add prettier to pre-commit hook (#1118) tag: 8.4.0
1 parent 539130a
Changed files (1)
lefthook.yml
@@ -1,9 +1,12 @@
-pre-push:
+pre-commit:
   parallel: true
   commands:
     format:
       glob: '*.{js,ts,md,yml}'
-      run: npm run fmt:check
+      run: npm run fmt && git add {staged_files}
+pre-push:
+  parallel: true
+  commands:
     license:
       run: npm run test:license
     size: