From 0e1650648fe6c6b69f473e3cf7bc8b11d35e6696 Mon Sep 17 00:00:00 2001 From: dutchie031 Date: Sat, 19 Sep 2026 23:28:31 +0200 Subject: [PATCH] Added luacheck config --- .gitea/workflows/pr.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml index 92f2bf0..33acec8 100644 --- a/.gitea/workflows/pr.yml +++ b/.gitea/workflows/pr.yml @@ -38,6 +38,25 @@ jobs: - name: Install luacheck run: luarocks install luacheck + - name: Create LuaCheck Config + run: | + cat << EOF + std = { + globals = { + "SpearheadConfig" + }, + read_globals = { + "lfs", "env", "net", "trigger", "timer", "Object" + } + } + + max_line_length = false + EOF + > .luacheckrc + + - name: Show LuaCheck Config + run: cat .luacheckrc + - name: Lint Compiled Output run: luacheck ./output/spearhead.lua