Use Luacheck as a pre-commit hook

This commit is contained in:
Hugo Locurcio
2019-04-03 00:29:43 +02:00
parent c0c410755b
commit 644c33e36a
2 changed files with 7 additions and 1 deletions

View File

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