mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-14 05:50:19 +02:00
Tweak the Luacheck configuration file and fix many warnings
This commit is contained in:
39
.luacheckrc
39
.luacheckrc
@ -1,14 +1,35 @@
|
||||
std = "lua51+minetest"
|
||||
unused_args = false
|
||||
allow_defined_top = true
|
||||
max_line_length = 999
|
||||
|
||||
read_globals = {
|
||||
"DIR_DELIM",
|
||||
"minetest", "core",
|
||||
"dump",
|
||||
"vector", "nodeupdate",
|
||||
"VoxelManip", "VoxelArea",
|
||||
"PseudoRandom", "ItemStack",
|
||||
"intllib",
|
||||
"default",
|
||||
stds.minetest = {
|
||||
read_globals = {
|
||||
"DIR_DELIM",
|
||||
"minetest",
|
||||
"core",
|
||||
"dump",
|
||||
"vector",
|
||||
"nodeupdate",
|
||||
"VoxelManip",
|
||||
"VoxelArea",
|
||||
"PseudoRandom",
|
||||
"ItemStack",
|
||||
"default",
|
||||
table = {
|
||||
fields = {
|
||||
"copy",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
read_globals = {
|
||||
"intllib",
|
||||
"protector",
|
||||
"isprotect",
|
||||
"IsPlayerNodeOwner",
|
||||
"HasOwner",
|
||||
"getLastOwner",
|
||||
"GetNodeOwnerName",
|
||||
}
|
||||
|
Reference in New Issue
Block a user