john-slop/examples/config
Dandaedre ae448ad60c
feat: generate a local default configuration
2026-09-30 00:48:49 +02:00
..
README.md feat: generate a local default configuration 2026-09-30 00:48:49 +02:00
config.toml feat: configure diagnostics by category 2026-09-30 00:46:45 +02:00
editorial.toml docs: publish release-ready usage and config samples 2026-09-29 17:26:47 +02:00

README.md

Commented configuration examples

Copy config.toml to the platform path printed by john-slop config paths for user-wide policy. Copy editorial.toml beside it and select it with --config-name editorial for a named overlay.

Both are deliberately partial. Embedded defaults remain active for fields and stable IDs they do not mention. Inspect the exact merged result before enforcing it:

john-slop config show --config-name editorial

Project-local policy can use either file with --config path/to/file.toml. The CLI can also create the embedded commented base in the current directory:

john-slop config init

It preserves an existing config.toml unless --force is explicit.