add basic .luacheckrc file

This commit is contained in:
AFCMS 2021-04-15 14:19:11 +02:00 committed by kay27
parent bee4dc4854
commit 2edc96f1f4

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