From 0d4151294304a42edae53b6a0ee107490759b518 Mon Sep 17 00:00:00 2001 From: Matt Layman Date: Tue, 18 Jan 2022 04:51:05 -0500 Subject: [PATCH] Add pre-commit hook to enable Luacheck for pre-commit (#48) --- .pre-commit-hooks.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 00000000..bdc54c03 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,6 @@ +- id: luacheck + name: Luacheck + description: Lint and static analysis of Lua code + entry: luacheck + language: lua + types: [lua]