Do some code linting with luacheck

This commit is contained in:
Montandalar
2021-02-11 02:23:21 +11:00
parent be8a39eae0
commit 20019a3d3e
2 changed files with 23 additions and 9 deletions

16
.luacheckrc Normal file
View File

@ -0,0 +1,16 @@
read_globals = {
"DIR_DELIM",
"core",
"dump",
"vector", "nodeupdate",
"VoxelManip", "VoxelArea",
"PseudoRandom", "ItemStack",
"AreaStore",
"default",
table = { fields = { "copy", "getn" } }
}
globals = {
"minetest"
}