Minetest-WorldEditAdditions/.luacheckrc

42 lines
662 B
Lua

quiet = 1
codes = true
exclude_files = {
".luarocks/*",
"worldeditadditions_core/utils/bit.lua"
}
files["worldeditadditions_core/register/check.lua"] = { read_globals = { "table" } }
ignore = {
"631", "61[124]",
"542",
"412",
"321/bit",
"21[123]"
}
-- Read-write globals (i.e. they can be defined)
globals = {
"worldedit",
"worldeditadditions",
"worldeditadditions_commands",
"worldeditadditions_core",
"worldeditadditions_tools"
}
-- Read-only globals
read_globals = {
"minetest",
"vector",
"assert",
"bit",
"it",
"describe",
"bonemeal",
"dofile",
"PerlinNoise",
"Settings",
"VoxelArea",
"pova" -- optional mod support
}
std = "max"