Add luacheck config file.

Run `luacheck .` in the toplevel folder and it'll check all
the code. There are plenty of warnings out there to fix atm.
This commit is contained in:
Auke Kok 2016-12-15 13:20:32 -08:00
parent 7429d86dc9
commit cdf2c0ff90
1 changed files with 16 additions and 0 deletions

16
.luacheckrc Normal file
View File

@ -0,0 +1,16 @@
unused_args = false
allow_defined_top = true
read_globals = {
"DIR_DELIM",
"minetest", "core",
"dump",
"vector", "nodeupdate",
"VoxelManip", "VoxelArea",
"PseudoRandom", "ItemStack",
"intllib",
"default",
"stairsplus",
"signs_lib",
}