Skip to main content
Bach publishes a JSON schema for bach.toml, so your editor can complete every setting and flag typos as you type. bach init adds the schema line to every file it writes.
bach.toml

Supported editors

Any editor with TOML support that reads #:schema comments works.

What you get

  • Completion for every section and setting, including the four values of options.
  • Warnings on unknown settings and wrong types.
  • Hover descriptions where your editor shows them.

The schema stays complete

The schema lives at schema/bach.schema.json in the repository, and a test keeps it complete: adding a setting to Bach without adding it to the schema fails the build.
The schema is for editors. bach check is the authority: it also checks that files exist, that patterns match and that paths are safe.