1
0
mirror of https://github.com/Splizard/minetest-mod-snow.git synced 2025-07-03 08:30:45 +02:00

Add a luacheckrc and fix errors reported by luacheck

* stairs is now added to depends.txt
* The mapgen perlin noise functions use a buffer now
This commit is contained in:
HybridDog
2021-01-30 17:33:59 +01:00
parent 76981af958
commit e8a15bf467
10 changed files with 90 additions and 61 deletions

16
.luacheckrc Normal file
View File

@ -0,0 +1,16 @@
read_globals = {
"dump", "vector", "minetest",
"table", "math", "PseudoRandom", "VoxelArea",
"stairs", "stairsplus", "skins", "treecapitator",
default = {
fields = {
player_attached = {
read_only = false,
other_fields = true
}
},
other_fields = true
}
}
globals = {"snow"}
-- ignore = {"421", "423"}