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 --fixto apply Tombi formatting. - Teams migrating from a standalone
tombi lintortombi format --checkstep.
What this preset includesโ
tombi/tombi- TOML parser wiring.
- File patterns for
**/*.tomland**/Cargo.lock.
Rules in this presetโ
This table is generated from runtime plugin metadata for tombi.configs.recommended.
Fix legend:
๐ง= autofixableโ= report only
| Rule | Fix | This preset | Also 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 | โ | โ | ๐ง ๐ฃ |