Skip to main content
GLua Language Server ships with built-in diagnostics that catch common mistakes in Garry’s Mod Lua. Each rule can be set to off, warning, or error inside your .glua.json file. This page lists every rule, grouped by the area it covers.

Setting severity

You can tune every rule in .glua.json. The diagnostics block accepts off, warning, or error for each rule name.
If a rule is omitted, the server uses its built-in default. You only need to list rules you want to override.