sudo apt install luarocks
sudo luarocks install luacheck
kaeza wrote:Uh... use LuaCheck?
For Debian/Ubuntu:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
sudo apt install luarocks
sudo luarocks install luacheck
Checking mods/wool/init.lua 5 warnings
mods/wool/init.lua:26:2: accessing undefined variable minetest
mods/wool/init.lua:32:12: accessing undefined variable default
mods/wool/init.lua:35:2: accessing undefined variable minetest
mods/wool/init.lua:46:1: accessing undefined variable minetest
mods/wool/init.lua:47:1: accessing undefined variable minetest
globals = {"minetest", "default", "vector"}
kaeza wrote:Check the LuaCheck config file used by minetest_game.
See also the LuaCheck documentation.
burli wrote:Found this yesterday. This is relatively new in the repo
Users browsing this forum: No registered users and 21 guests