Lint addon Lua against a game client
wow_lua_lintDetect WoW addon Lua issues: removed APIs, unknown events, taint, and performance traps. Run on addon code before shipping or when porting between clients.
Instructions
Analyse addon Lua for problems specific to World of Warcraft: APIs that were removed or moved into a namespace in the target client, unknown events, taint (calling protected functions, overwriting Blizzard globals, touching secure frames in combat), and performance traps. Run this on any addon Lua before shipping it, and whenever porting between clients.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Lua source to analyse. | |
| path | No | Path to a .lua file to analyse instead of inline code. | |
| flavor | No | Target client. Defaults to retail. | |
| disable | No | Rule ids to suppress. | |
| knownGlobals | No | Globals defined elsewhere (embedded libraries, other files) — suppresses unknown-API warnings for them. |