nvim-treesitter/scripts/pre-push
2021-07-05 12:39:32 +02:00

10 lines
187 B
Bash
Executable file

#!/usr/bin/env bash
# Can be used as a pre-push hook
# Just symlink this file to .git/hooks/pre-push
echo "Running linter..."
luacheck .
echo "Checking formatting..."
stylua --check .