mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-11-09 12:00:18 +01:00
luacheck with builtin minetest (#109)
* [PoC] luacheck with builtin minetest * switch to `minetest+max` std for luacheck * use branch in action * use SX's docker image * disable tty * Update .github/workflows/luacheck.yml Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com> * go back to upstream luacheck * fix globals listing --------- Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com> Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
This commit is contained in:
parent
171faec7e9
commit
63bc754889
13
.luacheckrc
13
.luacheckrc
|
@ -1,6 +1,7 @@
|
|||
unused_args = false
|
||||
max_line_length= 240
|
||||
redefined = false
|
||||
std = "minetest+max"
|
||||
|
||||
globals = {
|
||||
"pipeworks",
|
||||
|
@ -8,19 +9,9 @@ globals = {
|
|||
}
|
||||
|
||||
read_globals = {
|
||||
-- Stdlib
|
||||
string = {fields = {"split"}},
|
||||
table = {fields = {"copy", "getn"}},
|
||||
|
||||
-- Minetest
|
||||
"vector", "ItemStack",
|
||||
"dump", "minetest",
|
||||
"VoxelManip", "VoxelArea",
|
||||
|
||||
-- mods
|
||||
"default", "mesecon", "digiline",
|
||||
"screwdriver", "unified_inventory",
|
||||
"i3", "mcl_experience", "awards",
|
||||
"xcompat", "fakelib", "vizlib",
|
||||
|
||||
"xcompat", "fakelib", "vizlib"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user