Format
Run the formatting side of the Tombi bridge without Tombi lint diagnostics.
Flat config exampleโ
import tombi from "eslint-plugin-tombi";
export default [tombi.configs.format];
Use this preset with eslint --fix when the job is meant to rewrite TOML files.
Best fitโ
- Local formatting scripts.
- Bot-driven formatting pull requests.
- CI checks that intentionally ignore lint diagnostics.
Rules in this presetโ
This table is generated from runtime plugin metadata for tombi.configs.format.
Fix legend:
๐ง= autofixableโ= report only
| Rule | Fix | This preset | Also enabled in |
|---|---|---|---|
tombi | ๐ง | ๐ง Enabled | ๐ก ๐งช ๐ฆ โ ๐ฃ |
require-tombi-config-file-naming-convention | โ | โ | ๐ก ๐ง ๐ฃ |
disallow-tombi-unknown-config-properties | โ | โ | ๐ก ๐ง ๐ฃ |
disallow-tombi-empty-files-include | โ | โ | ๐ก ๐ง ๐ฃ |
disallow-tombi-empty-files-exclude | โ | โ | ๐ก ๐ง ๐ฃ |
require-tombi-valid-lint-rule-levels | โ | โ | ๐ก ๐ง ๐ฃ |
prefer-tombi-builtin-schema-catalog | โ | โ | ๐ง ๐ฃ |