Skip to main content
Print the resolved configuration and the path of the config file that was loaded. Useful for debugging “why isn’t my config being applied?” especially in monorepos where multiple .fallowrc.json files may be in play.
By default, prints the loaded config path on the first line followed by the JSON-serialized config (with extends resolved):
$ fallow config

Options

The global --config <path> flag is honored: if you pass it, that path is loaded directly instead of walking the directory tree.

Exit codes

Examples

Verify which config the LSP/CLI picked up

In a monorepo, when running fallow from inside a sub-package:
If a sub-package has its own config, that path is printed instead (first-match-wins).

Use an explicit config file

Pipe to jq for further inspection

The first line (loaded config: ...) is on stdout above the JSON, so tail -n +2 skips it.

Detect “no config” in scripts