Add luacheck, and fix some of its warnings.
Don't tell me what to do!
This commit is contained in:
parent
3ac2dc689c
commit
ed4143243e
27
.luacheckrc
Normal file
27
.luacheckrc
Normal file
@ -0,0 +1,27 @@
|
||||
unused_args = false
|
||||
allow_defined_top = true
|
||||
|
||||
globals = {
|
||||
"cloudlands"
|
||||
}
|
||||
|
||||
read_globals = {
|
||||
"core",
|
||||
"default",
|
||||
"biomeinfo",
|
||||
"schemlib",
|
||||
"DIR_DELIM",
|
||||
"intllib",
|
||||
"ItemStack",
|
||||
"math.hypot",
|
||||
"minetest",
|
||||
"PcgRandom",
|
||||
"PseudoRandom",
|
||||
table = { fields = { "copy", "getn" } },
|
||||
"vector",
|
||||
"file_exists",
|
||||
"dump",
|
||||
"VoxelArea",
|
||||
"VoxelManip",
|
||||
}
|
||||
|
398
cloudlands.lua
398
cloudlands.lua
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user