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