Skip to main content
Create a configuration file for your project. The generated config includes a $schema field so your editor can provide autocomplete and validation.
Most projects don’t need a config file. Fallow works out of the box by auto-detecting entry points and frameworks. Only create one if you need custom entry points, rules, or ignore patterns.
fallow init

Options

FlagDescription
--tomlGenerate fallow.toml instead of .fallowrc.json

Output

The generated config includes a $schema field for IDE autocomplete. Editors like VS Code will provide inline validation and suggestions automatically.
By default, creates .fallowrc.json:
{
  "$schema": "https://raw.githubusercontent.com/fallow-rs/fallow/main/schema.json",
  "entry": [],
  "ignorePatterns": [],
  "rules": {}
}
With --toml, creates fallow.toml.

See also

Configuration overview

Full reference for all configuration options.

Quickstart

Get started with fallow in under a minute.