nvim-treesitter/scripts/pre-push

11 lines
187 B
Text
Raw Permalink Normal View History

2020-07-05 20:45:46 +02:00
#!/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 .