Use Luacheck as a pre-commit hook

This commit is contained in:
Hugo Locurcio
2019-04-01 11:02:31 +02:00
parent 1075b4678f
commit cea44dce57
2 changed files with 6 additions and 1 deletions

View File

@ -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 .