From 07cee87da56787e005b35019ddaa5eadf127655b Mon Sep 17 00:00:00 2001 From: Matt Layman Date: Mon, 17 Jan 2022 17:30:55 -0500 Subject: [PATCH] Add pre-commit hook to enable Luacheck for pre-commit. --- .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]