aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/pre-push
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pre-push')
-rwxr-xr-xscripts/pre-push7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/pre-push b/scripts/pre-push
index 00d4c5071..8d425b3b6 100755
--- a/scripts/pre-push
+++ b/scripts/pre-push
@@ -3,5 +3,8 @@
# Can be used as a pre-push hook
# Just symlink this file to .git/hooks/pre-push
-echo "Running style check..."
-./scripts/style-check.sh
+echo "Running linter..."
+luacheck .
+
+echo "Checking formatting..."
+stylua --check .