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.tomlor.tombi.tomlchecked 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
| Rule | Fix | This preset | Also 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 | ๐ฃ |