|
On 2018-07-04 07:18 AM, Viacheslav Usov wrote:
On Wed, Jul 4, 2018 at 12:02 PM Etiene Dalcol <dalcol@etiene.net <mailto:dalcol@etiene.net>> wrote:> My take on this is: this is not really necessary, just use luacheck. I agree with this. The easiest eay to solve this immediately is simply to add a linter to your text editor or run luacheck from the cmd lineThis is wishful thinking. Grapple with the fact that various forms of restricting "implicit global" have existed for over a decade, yet they are not deemed sufficient.Cheers, V.
I've been using an IDE (ZBS) "lint" that highlights all global access. It's more than enough.