mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-11-09 20:10:21 +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
|
unused_args = false
|
||||||
max_line_length= 240
|
max_line_length= 240
|
||||||
redefined = false
|
redefined = false
|
||||||
|
std = "minetest+max"
|
||||||
|
|
||||||
globals = {
|
globals = {
|
||||||
"pipeworks",
|
"pipeworks",
|
||||||
|
@ -8,19 +9,9 @@ globals = {
|
||||||
}
|
}
|
||||||
|
|
||||||
read_globals = {
|
read_globals = {
|
||||||
-- Stdlib
|
|
||||||
string = {fields = {"split"}},
|
|
||||||
table = {fields = {"copy", "getn"}},
|
|
||||||
|
|
||||||
-- Minetest
|
|
||||||
"vector", "ItemStack",
|
|
||||||
"dump", "minetest",
|
|
||||||
"VoxelManip", "VoxelArea",
|
|
||||||
|
|
||||||
-- mods
|
-- mods
|
||||||
"default", "mesecon", "digiline",
|
"default", "mesecon", "digiline",
|
||||||
"screwdriver", "unified_inventory",
|
"screwdriver", "unified_inventory",
|
||||||
"i3", "mcl_experience", "awards",
|
"i3", "mcl_experience", "awards",
|
||||||
"xcompat", "fakelib", "vizlib",
|
"xcompat", "fakelib", "vizlib"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user