Add .luacheckrc
This commit is contained in:
parent
00a9ed804f
commit
25fe0fc3c3
18
.luacheckrc
Normal file
18
.luacheckrc
Normal file
@ -0,0 +1,18 @@
|
||||
unused_args = false
|
||||
allow_defined_top = true
|
||||
max_line_length = false
|
||||
|
||||
globals = {
|
||||
"minetest",
|
||||
}
|
||||
|
||||
read_globals = {
|
||||
string = {fields = {"split"}},
|
||||
table = {fields = {"copy", "getn", "shuffle"}},
|
||||
math = {fields = {"round", "sign"}},
|
||||
|
||||
-- Builtin
|
||||
"vector", "ItemStack", "PcgRandom", "PseudoRandom",
|
||||
"dump", "DIR_DELIM", "VoxelArea", "Settings",
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user