strictness

Tracks declaration and assignment of globals in Lua

$ luarocks install strictness

Strictness is yet another pure Lua module (compatible with Lua 5.1 and 5.2)
which stands for tracking global variables declaration and assignments in your code.
It enforces to declare globals using a new statement, before assignment. As such, it
helps having a better control on the scope of variables and therefore minimizes the
global environment namespace pollution.

Versions

0.3.0-1319 days ago34 downloads
0.2.0-13 years ago103 downloads
0.1.0-13 years ago27 downloads

Dependencies

lua >= 5.1, <= 5.3

Labels

Manifests