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-15 years ago88 downloads
0.2.0-18 years ago110 downloads
0.1.0-18 years ago58 downloads

Dependencies

lua >= 5.1, <= 5.3

Labels

Manifests