1
0
mirror of https://github.com/mt-mods/basic_materials.git synced 2025-06-28 14:16:11 +02:00

Add .luacheckrc

- Removes unused variable
This commit is contained in:
Louis
2020-07-12 13:04:02 +02:00
parent c539463fee
commit c49b4f1f0a
3 changed files with 31 additions and 8 deletions

30
.luacheckrc Normal file
View File

@ -0,0 +1,30 @@
std = "lua51+minetest"
unused_args = false
allow_defined_top = true
max_line_length = 999
stds.minetest = {
read_globals = {
"DIR_DELIM",
"minetest",
"core",
"dump",
"vector",
"nodeupdate",
"VoxelManip",
"VoxelArea",
"PseudoRandom",
"ItemStack",
"default",
table = {
fields = {
"copy",
},
},
}
}
read_globals = {
"default",
"moreores",
}