Add .luacheckrc and some code cleanup

This commit is contained in:
HybridDog
2021-03-01 20:24:02 +01:00
parent fdbcc2e425
commit f8c12047d5
3 changed files with 61 additions and 119 deletions

5
.luacheckrc Normal file
View File

@ -0,0 +1,5 @@
read_globals = {
-- Defined by Minetest
"minetest", "PseudoRandom", "VoxelArea", "string", "dump", "math"
}
globals = {"vector", "vector_extras_functions"}