Skip to content
Snippets Groups Projects
Unverified Commit cea44dce authored by Hugo Locurcio's avatar Hugo Locurcio
Browse files

Use Luacheck as a pre-commit hook

parent 1075b467
No related branches found
No related tags found
No related merge requests found
......@@ -7,3 +7,8 @@ repos:
- id: mixed-line-ending
args: [--fix=lf]
- repo: https://github.com/Calinou/pre-commit-luacheck
rev: v1.0.0
hooks:
- id: luacheck
......@@ -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 .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment