I put out a simple addon, EPA, for checking for inadvertent creation of globals. Someone pointed out you can use luac to do that. Being new to sublime I don't know if you can get sublimelinter-lua to highlight global creation, but it seems it would certainly be possible in a package. Since you already created a package perhaps you would be interested in doing this. Perhaps even a sublimelinter-ESOlua that warns about calls to private/protected functions as well.
|