Skip to content

Commit

Permalink
Add lefthook for git hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
sondr3 committed Jan 16, 2025
1 parent 04f8deb commit 6bb891f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pre-commit:
commands:
stylua:
glob: "*.lua"
run: stylua --check {staged_files}

0 comments on commit 6bb891f

Please sign in to comment.