Tombi bridge
The tombi/tombi rule runs Tombi subprocesses against the ESLint source text. ESLint owns file selection, ignore behavior, fix application, formatter output, and editor integration. Tombi owns TOML parsing, schema resolution, lint diagnostics, and formatting.
What the bridge runsโ
By default, the rule runs both:
tombi format --stdin-filename <file> -tombi lint --stdin-filename <file> -
The lint, check, and format options let presets or users narrow that work.
Cache and network behaviorโ
The bridge sets:
TOMBI_CACHE_HOMEtonode_modules/.cache/eslint-plugin-tombi/tombiwhen installed undernode_modules, with.cache/eslint-plugin-tombi/tombiunder the ESLint working directory as the source-checkout or unwritable-package-cache fallback.TOMBI_CACHE_TTLto2592000seconds.TOMBI_HTTP_TIMEOUTto5seconds.
That default keeps schema/catalog cache data for 30 days. Use offline, noCache, cache.directory, cache.ttlSeconds, and httpTimeoutSeconds when CI or local development needs tighter control.
What stays upstreamโ
Keep these in Tombi config files such as tombi.toml, .tombi.toml, .config/tombi.toml, or [tool.tombi] in pyproject.toml:
- Formatter style.
- Lint and schema policy.
- Schema catalogs and schema-specific overrides.
- File include/exclude settings that should be shared with other Tombi tools.
Keep these in ESLint config:
- Which files ESLint visits.
- The ESLint severity for
tombi/tombi. - Whether this ESLint run is lint-only, check-only, or fix-capable.
- Bridge timeout, cache, offline, and custom executable settings.
For Tombi-side options, link users to the upstream reference instead of copying the full schema into ESLint config: