[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] luacheck 0.7.2
- From: Tim Caswell <tim@...>
- Date: Wed, 7 Jan 2015 08:53:45 -0600
Great work! Now if only I can figure out how to get luacheck running on my windows box as well. I'm addicted to luacheck linting in sublime text.
On Jan 4, 2015 6:43 PM, "Eduardo Tongson" <email@example.com
Awesome. Knocked out a couple of bugs for me.
Thanks and Happy New Year!!
On Sun, Jan 4, 2015 at 2:25 AM, Peter Melnichenko <firstname.lastname@example.org> wrote:
> I'd like to announce a new release of luacheck.
> luacheck is a static analyzer and a linter for Lua which detects
> issues like accidental globals, unused variables and values, etc. It
> is fairly configurable and can be used as a part of automated testing,
> manually from the command line or inside an editor. It can be
> installed using luarocks.
> The only new thing in luacheck 0.7.2 is a flow analysis pass replacing
> old and naive AST-walking checker. This improves quality of unused
> value detection in some cases, e.g. in the following snippet first
> value assigned to `var` is now detected as unused:
> local var = expr1()
> if cond() then
> var = expr2()
> var = expr3()
> In the next release I plan to add a few new diagnostics using data
> gathered using flow analysis; I decided to make an intermediate
> release as internally there were a lot of changes and I want to fix
> any possible bugs before releasing 0.8.0.
> Any feedback is welcome.
> Happy New Year!
>  https://github.com/mpeterv/luacheck
>  https://github.com/mpeterv/luacheck#editor-support