Skip to main content
.gluafmtrc.json is validated against glua.bluejutzu.dev/schemas/gluafmtrc.schema.json, the same schema glua init and GLua: Create Formatter Config File point $schema at. This page documents every property it accepts. See the Formatter page for what each option actually changes in your code, and Config Files for a shorter overview alongside .glua.json.
The schema sets additionalProperties: false, so a typo’d key is flagged in your editor rather than silently ignored.

Properties

overrides

An array of objects, applied in order — later entries win when two overrides match the same file. Unlike .glua.json’s overrides, options is required and only accepts formatting keys — no diagnostics or globals here.
Options not listed in an override keep whatever the top-level config (or the built-in default) says — an override only replaces the keys it names.