Skip to content

0.3.0

Compare
Choose a tag to compare
@mpeterv mpeterv released this 25 Apr 17:34
· 805 commits to master since this release
  • luacheck is now _ENV-aware: "globals" inside chunks with custom _ENV are ignored, but their presence marks the _ENV variable as used; accessing the outermost("default") _ENV is permitted, too.
  • In --globals option of the CLI hyphen now expands to all standard global variables;
  • New -c/--compat flag defines some additional globals for Lua 5.1/5.2 compatibility(e.g. setfenv).
  • New -l/--limit option allows setting a limit of warnings. If the limit is not exceeded, the CLI exits with 0.
  • The -q/--quiet flag now can be used several times(-q/-qq/-qqq) to make the CLI more or less quiet.
  • Other small improvements.