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

11 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 .