mirror of
https://github.com/minetest-mods/moreores.git
synced 2025-07-20 08:40:27 +02:00
Use Luacheck as a pre-commit hook
This commit is contained in:
@ -11,5 +11,5 @@ install:
|
||||
- luarocks install --local luacheck
|
||||
|
||||
script:
|
||||
# All linters are run with pre-commit hooks
|
||||
- $HOME/.local/bin/pre-commit run --all-files
|
||||
- $HOME/.luarocks/bin/luacheck .
|
||||
|
Reference in New Issue
Block a user