Skip to main content

Guide overview

eslint-plugin-tombi is a bridge plugin. It lets ESLint run Tombi and report TOML lint and format findings through normal ESLint output.

Use the guides in this orderโ€‹

  1. Start with Getting started to add the recommended preset.
  2. Read Tombi bridge to understand what the bridge delegates to Tombi.
  3. Use Local Tombi config to add formatter, linter, file, and schema policy.
  4. Use Tool behavior to rule map when deciding whether a setting belongs in Tombi config or ESLint config.

Boundaryโ€‹

This plugin should not become a second Tombi implementation. TOML lint, format, schema, and override policy belongs in Tombi config. ESLint config should control file selection, rule severity, and bridge execution options.

When a project needs formatting or lint-rule choices, add them to a local Tombi config and keep ESLint focused on running the bridge. The upstream Tombi reference has the current configuration search priority, format rule options, and lint rule options.