chore: add pre commit hook
This commit is contained in:
4
.hooks/pre-commit.sh
Executable file
4
.hooks/pre-commit.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
luacheck . || exit 1
|
||||
stylua lua/**/*.lua --check || exit 1
|
||||
Reference in New Issue
Block a user