aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/pre-push
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2021-07-04 17:55:11 -0500
committerStephan Seitz <stephan.lauf@yahoo.de>2021-07-05 12:39:32 +0200
commit437e41e9fcf3866d766f953a45685ece5957de8d (patch)
tree4f8bb1beb59d5c24138361dbff5fe9a0dd2481ca /scripts/pre-push
parentUpdate used_by for parent parsers (diff)
downloadnvim-treesitter-437e41e9fcf3866d766f953a45685ece5957de8d.tar
nvim-treesitter-437e41e9fcf3866d766f953a45685ece5957de8d.tar.gz
nvim-treesitter-437e41e9fcf3866d766f953a45685ece5957de8d.tar.bz2
nvim-treesitter-437e41e9fcf3866d766f953a45685ece5957de8d.tar.lz
nvim-treesitter-437e41e9fcf3866d766f953a45685ece5957de8d.tar.xz
nvim-treesitter-437e41e9fcf3866d766f953a45685ece5957de8d.tar.zst
nvim-treesitter-437e41e9fcf3866d766f953a45685ece5957de8d.zip
Luacheck: use config file to exclude files
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 .