Files
spearhead/.luacheckrc
T
dutchie031 70d18f4ac3
PR Prerequisites / Bundles Without Errors (pull_request) Failing after 24s
updated luacheck rc
2026-09-08 17:07:41 +02:00

23 lines
672 B
Lua

std = "lua51"
max_line_length = false
-- Compiled bundle is a single file; each source file's locals live inside
-- their own `do ... end` block, so cross-file shadowing isn't a real risk.
unused_args = false
-- Cross-file globals set by Spearhead itself (no `require`/module system in the bundle)
globals = {
"SpearheadConfig",
"GlobalCapCallBacks",
"SpearheadAPI",
}
-- DCS Mission Scripting Environment API
read_globals = {
"env", "timer", "trigger", "world", "coalition", "country",
"AI", "Group", "Unit", "StaticObject", "SceneryObject",
"Airbase", "Weapon", "land", "atmosphere", "missionCommands",
"net", "lfs", "Object", "coord",
}