mirror of
https://github.com/minetest-mods/more_chests.git
synced 2024-11-14 06:10:35 +01:00
Add .luacheckrc
This commit is contained in:
parent
f3c799b9b3
commit
f1cfa9d7f3
25
.luacheckrc
Normal file
25
.luacheckrc
Normal file
|
@ -0,0 +1,25 @@
|
|||
std = "lua51+minetest"
|
||||
unused_args = false
|
||||
allow_defined_top = true
|
||||
max_line_length = 999
|
||||
|
||||
stds.minetest = {
|
||||
read_globals = {
|
||||
"minetest",
|
||||
"VoxelManip",
|
||||
"VoxelArea",
|
||||
"PseudoRandom",
|
||||
"ItemStack",
|
||||
"default",
|
||||
table = {
|
||||
fields = {
|
||||
"copy",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
read_globals = {
|
||||
"pipeworks",
|
||||
}
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
function generate(size)
|
||||
local cfg
|
||||
if size == "small" then
|
||||
cfg = {
|
||||
window_width = 8,
|
||||
|
|
Loading…
Reference in New Issue
Block a user