mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Luacheck: use config file to exclude files
This commit is contained in:
parent
8b876207e6
commit
437e41e9fc
4 changed files with 11 additions and 7 deletions
|
|
@ -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 .
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# ignore indent test files
|
||||
luacheck `find -name "*.lua" -not -path "./tests/indent/lua/*"` --codes
|
||||
Loading…
Add table
Add a link
Reference in a new issue