Add .luacheckrc

This commit is contained in:
Wuzzy 2023-03-29 00:59:03 +02:00
parent 00a9ed804f
commit 25fe0fc3c3

18
.luacheckrc Normal file
View File

@ -0,0 +1,18 @@
unused_args = false
allow_defined_top = true
max_line_length = false
globals = {
"minetest",
}
read_globals = {
string = {fields = {"split"}},
table = {fields = {"copy", "getn", "shuffle"}},
math = {fields = {"round", "sign"}},
-- Builtin
"vector", "ItemStack", "PcgRandom", "PseudoRandom",
"dump", "DIR_DELIM", "VoxelArea", "Settings",
}