mirror of
https://github.com/minetest-mods/lightning.git
synced 2025-06-28 14:16:17 +02:00
add .luacheckrc and fix common errors
This commit is contained in:
committed by
SmallJoker
parent
39bd36cc17
commit
3136adbe00
19
.luacheckrc
Normal file
19
.luacheckrc
Normal file
@ -0,0 +1,19 @@
|
||||
|
||||
globals = {
|
||||
"lightning"
|
||||
}
|
||||
|
||||
read_globals = {
|
||||
-- Stdlib
|
||||
string = {fields = {"split"}},
|
||||
table = {fields = {"copy", "getn"}},
|
||||
"PcgRandom",
|
||||
|
||||
-- Minetest
|
||||
"minetest",
|
||||
"vector", "ItemStack",
|
||||
"dump",
|
||||
|
||||
-- mods
|
||||
"default", "fire"
|
||||
}
|
Reference in New Issue
Block a user