Files
impostor/.luacheckrc
Zoltan Timar 9fc659c819
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
lint fix
2026-04-28 01:00:23 +02:00

89 lines
1.4 KiB
Lua

-- .luacheckrc
-- Configuration for luacheck
globals = {
"AsciiArt",
"Ascension",
"Audio",
"AudioTestWindow",
"BriefIntroWindow",
"CodeGenerator",
"Config",
"Context",
"ContinuedWindow",
"ControlsWindow",
"CreditsWindow",
"Day",
"Decision",
"Discussion",
"DiscussionWindow",
"EndWindow",
"Focus",
"GameOverWindow",
"GameWindow",
"Glitch",
"Input",
"Map",
"MapBedroom",
"MenuWindow",
"Meter",
"Minigame",
"MinigameButtonMashWindow",
"MinigameDDRWindow",
"MinigameRhythmWindow",
"Mouse",
"MysteriousManScreen",
"PlayerNameWindow",
"PopupWindow",
"Print",
"RLE",
"Screen",
"Songs",
"Sprite",
"TIC",
"TTGIntroWindow",
"TextInput",
"Timer",
"TitleIntroWindow",
"Trigger",
"UI",
"Util",
"WalkingToOfficeScreen",
"Window",
"beats_to_pattern",
"btnp",
"circb",
"circ",
"cls",
"exit",
"frame_from_beat",
"index_menu",
"keyp",
"line",
"map",
"mouse",
"mget",
"mset",
"music",
"musicator_generate_pattern",
"pix",
"print",
"rect",
"rectb",
"sfx",
"spr",
"time",
"trace",
"tri",
}
-- Exclude certain warnings globally
exclude_warnings = {
"undefined_global", -- Will be covered by 'globals' table
"redefined_loop_variable", -- Common in Lua for iterators
}
-- Options for unused variables
std = "lua51" -- Assuming Lua 5.1, common for TIC-80