Re: NEW: devel/luacheck

2016-05-05 Thread Frederic Cambus
On Thu, Apr 21, 2016 at 07:43:48PM +1000, Jonathan Gray wrote: > > Luacheck supports checking Lua files using syntax of Lua 5.1, Lua 5.2, > Lua 5.3 and LuaJIT 2.0. Luacheck itself is written in Lua and runs on > all of mentioned Lua versions. Just a heads up, the package couldn't build because

Re: NEW: devel/luacheck

2016-04-21 Thread Florian Stinglmayr
On Thu, Apr 21, 2016 at 07:43:48PM +1000, Jonathan Gray wrote: > Luacheck supports checking Lua files using syntax of Lua 5.1, Lua 5.2, > Lua 5.3 and LuaJIT 2.0. Luacheck itself is written in Lua and runs on > all of mentioned Lua versions. ok from me. Works fine for me and my projects, and is

NEW: devel/luacheck

2016-04-21 Thread Jonathan Gray
Luacheck is a static analyzer and a linter for Lua. Luacheck detects various issues such as usage of undefined global variables, unused variables and values, accessing uninitialized variables, unreachable code and more. Most aspects of checking are configurable: there are options for defining