Add luacheck configuration

This commit is contained in:
Hugues Ross 2020-06-01 07:32:12 -04:00
parent efa93baa97
commit 1293c0c55c
1 changed files with 32 additions and 0 deletions

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"
}
},
}