add basic .luacheckrc file

This commit is contained in:
AFCMS 2021-04-15 14:19:11 +02:00
parent 2575e20e7e
commit 54f81b7740
1 changed files with 35 additions and 0 deletions

35
.luacheckrc Normal file
View File

@ -0,0 +1,35 @@
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"
}
},
}