disallow-tombi-unknown-config-properties
Disallow unsupported top-level properties in standalone Tombi config files.
Rule catalog ID: R003
Targeted pattern scopeโ
This rule targets standalone Tombi config files visited by ESLint, normally through tombi.configs.configuration, tombi.configs.recommended, or tombi.configs.all.
What this rule reportsโ
The rule reports top-level config keys and tables that are not part of the supported Tombi config shape.
Why this rule existsโ
Misspelled root keys silently make a config harder to reason about. This rule catches unknown top-level TOML keys and tables before Tombi falls back to defaults.
โ Incorrectโ
[formats]
โ Correctโ
[format]
[[overrides]]
files.include = ["tests/**/*.toml"]
[overrides.lint.rules]
key-empty = "off"