Skip to main content

Configuration

Enable Tombi config-authoring checks for standalone Tombi config files.

Flat config exampleโ€‹

import tombi from "eslint-plugin-tombi";

export default [tombi.configs.configuration];

Best fitโ€‹

  • Repositories with tombi.toml or .tombi.toml checked in.
  • Teams that want ESLint to catch obvious Tombi config mistakes.
  • CI jobs that already use ESLint as the review annotation surface.

What this preset includesโ€‹

  • Tombi config filename checks.
  • Unknown top-level Tombi config property checks.
  • File pattern sanity checks.
  • Lint rule level validation.
  • Schema catalog cache guidance.

Rules in this presetโ€‹

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

Fix legend:

  • ๐Ÿ”ง = autofixable
  • โ€” = report only
RuleFixThis presetAlso enabled in
tombi๐Ÿ”งโ€”๐ŸŸก ๐Ÿงช ๐Ÿšฆ โœ… ๐Ÿ”ง ๐ŸŸฃ
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โ€”๐Ÿ”ง Enabled๐ŸŸฃ