Added luacheck config
PR Prerequisites / Lua Check (pull_request) Failing after 19s
PR Prerequisites / Bundles Without Errors (pull_request) Failing after 29s

This commit is contained in:
2026-09-19 23:28:31 +02:00
parent 05d47aa969
commit 0e1650648f
+19
View File
@@ -38,6 +38,25 @@ jobs:
- name: Install luacheck - name: Install luacheck
run: luarocks 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 - name: Lint Compiled Output
run: luacheck ./output/spearhead.lua run: luacheck ./output/spearhead.lua