All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
62 lines
958 B
Lua
62 lines
958 B
Lua
-- .luacheckrc
|
|
-- Configuration for luacheck
|
|
|
|
globals = {
|
|
"Util",
|
|
"Decision",
|
|
"Situation",
|
|
"Screen",
|
|
"Sprite",
|
|
"UI",
|
|
"Print",
|
|
"Input",
|
|
"Audio",
|
|
"Config",
|
|
"Context",
|
|
"Meter",
|
|
"Minigame",
|
|
"SplashWindow",
|
|
"IntroWindow",
|
|
"MenuWindow",
|
|
"GameWindow",
|
|
"PopupWindow",
|
|
"ConfigurationWindow",
|
|
"AudioTestWindow",
|
|
"MinigameButtonMashWindow",
|
|
"MinigameRhythmWindow",
|
|
"MinigameDDRWindow",
|
|
"mset",
|
|
"mget",
|
|
"btnp",
|
|
"keyp",
|
|
"music",
|
|
"sfx",
|
|
"spr",
|
|
"rect",
|
|
"rectb",
|
|
"circ",
|
|
"circb",
|
|
"cls",
|
|
"tri",
|
|
"Songs",
|
|
"frame_from_beat",
|
|
"beats_to_pattern",
|
|
"MapBedroom",
|
|
"TIC",
|
|
"exit",
|
|
"trace",
|
|
"index_menu",
|
|
"Map",
|
|
"map",
|
|
}
|
|
|
|
|
|
|
|
-- 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 |