Skip to main content

Recommended

Enable the default Tombi bridge for TOML files and Cargo lockfiles.

Flat config exampleโ€‹

import tombi from "eslint-plugin-tombi";

export default [tombi.configs.recommended];

Best fitโ€‹

  • Repositories that want one ESLint command to report TOML lint and format findings.
  • Projects that want eslint --fix to apply Tombi formatting.
  • Teams migrating from a standalone tombi lint or tombi format --check step.

What this preset includesโ€‹

  • tombi/tombi
  • TOML parser wiring.
  • File patterns for **/*.toml and **/Cargo.lock.

Rules in this presetโ€‹

This table is generated from runtime plugin metadata for tombi.configs.recommended.

Fix legend:

  • ๐Ÿ”ง = autofixable
  • โ€” = report only
RuleFixThis presetAlso enabled in
tombi๐Ÿ”ง๐ŸŸก Enabled๐Ÿงช ๐Ÿšฆ โœ… ๐Ÿ”ง ๐ŸŸฃ
require-tombi-config-file-naming-conventionโ€”๐ŸŸก Enabled๐Ÿ”ง ๐ŸŸฃ
disallow-tombi-unknown-config-propertiesโ€”๐ŸŸก Enabled๐Ÿ”ง ๐ŸŸฃ
disallow-tombi-empty-files-includeโ€”๐ŸŸก Enabled๐Ÿ”ง ๐ŸŸฃ
disallow-tombi-empty-files-excludeโ€”๐ŸŸก Enabled๐Ÿ”ง ๐ŸŸฃ
require-tombi-valid-lint-rule-levelsโ€”๐ŸŸก Enabled๐Ÿ”ง ๐ŸŸฃ
prefer-tombi-builtin-schema-catalogโ€”โ€”๐Ÿ”ง ๐ŸŸฃ