Skip to main content

Overview

The diagnostics section controls which checks run and how severe they appear. You can enable, disable, or re-level each diagnostic code.

Top-level options


Severity levels


Full diagnostic reference

Codes marked Off start disabled. Add them to enables to turn them on.

Syntax & annotations

Type checking

Nil diagnostics understand validity guards such as IsValid and annotated guard wrappers. See Guard metadata for custom wrappers.

Fields & access

Variables & scoping

Control flow

Modules & requires

Documentation

Code style

Type definitions

Garry’s Mod Lua


VS Code extension settings

You can also configure these settings in VS Code settings with the gluals.* prefix:

Example configuration

.gluarc.json