1
0
mirror of https://github.com/HybridDog/nether-pack.git synced 2025-07-27 20:20:21 +02:00

Add .luacheckrc and do some code fixes

This commit is contained in:
HybridDog
2021-12-22 18:16:01 +01:00
parent be64a982f8
commit fb1eca6c11
9 changed files with 83 additions and 49 deletions

15
nether/.luacheckrc Normal file
View File

@ -0,0 +1,15 @@
read_globals = {
-- Defined by Minetest
"minetest", "vector", "PseudoRandom", "VoxelArea", "ItemStack", "dump",
"string",
-- Mods
"default", "stairs", "creative"
}
globals = {"nether"}
ignore = {
"212",
-- Unused argument
"411", "421", "422", "423", "431", "432",
-- Shadowing
}