Files
skyweave/.luacheckrc
T
wes dcbd96ee75
Skyweave CI Rituals / Rite of Static Scrutiny (Luacheck) (push) Failing after 6s
Configuring luacheck to be a little more reasonable part 2
2025-06-12 07:55:43 -04:00

39 lines
821 B
Lua
Executable File

-- .luacheckrc
-- Defines globals to prevent false positives during the sacred linting process.
read_globals = {
"require",
"print",
"io",
"os",
"string",
"table",
"math",
"pcall",
"setmetatable",
"getmetatable",
"ipairs",
"pairs",
"tonumber",
"tostring",
"type",
"next",
"rawget"
}
exclude_files = {
"lib/",
"src/"
}
-- Ignore specific, non-critical warnings by their numeric code.
-- W111: Line is too long
-- W211: Unused variable
-- W212: Unused argument
-- W213: Unused argument 'self'
-- The pattern '*' applies the rules to every file luacheck analyzes.
ignore = {
['*'] = {
"W111", -- line is too long
"W211", -- unused variable
"W212", -- unused argument
"W213" -- unused argument 'self'
}
}