Add luacheck

This commit is contained in:
CBugDCoder 2020-07-29 10:41:25 -05:00
parent 4a0c13f175
commit 63cc2bd933

32
.luacheckrc Normal file
View File

@ -0,0 +1,32 @@
read_globals = {
"DIR_DELIM",
"minetest", "core",
"dump", "dump2",
"vector",
"VoxelManip", "VoxelArea",
"PseudoRandom", "PcgRandom",
"ItemStack",
"Settings",
"unpack",
table = {
fields = {
"copy",
"indexof",
"insert_all",
"key_value_swap",
}
},
string = {
fields = {
"split",
"trim",
}
},
math = {
fields = {
"hypot",
"sign",
"factorial"
}
},
}