WasteLands_Survival/.luacheckrc

59 lines
961 B
Lua

max_line_length = false
ignore = {
--setting a read-only field of a global variable
"122",
--unused globals
"131",
--setting and acessing undefined fields of global variables
"14.",
--unused variables and arguments
"21.",
--setting and never acessing variables
"23.",
--whitespace
"61."
}
read_globals = {
-- minetest
"minetest",
"dump", "dump2","vector",
"creative",
"ItemStack",
"PcgRandom","PseudoRandom",
"VoxelManip", "VoxelArea",
math = { fields = {"sign"} },
table = { fields = {"copy"} },
-- mod checks
"cmi",
"default",
"farming",
"intllib",
"invisibility",
"lightning",
"lucky_block",
"mobs",
"sfinv_buttons",
"stairsplus",
"tnt",
"toolranks",
"unified_inventory",
}
globals = {
--this should really be renamed to trinium_api
"api",
--other mods
"betterinv",
"journal",
"weather_mod",
}
allow_defined_top = true
exclude_files = {
-- bad syntax is tested here
"mods/modutil/LuaVenusCompiler/testout/",
}