modernize command
Apply the automatic lint fixes in a scratch copy and keep them only when build, tests and cases show they changed nothing.
bash
fobis modernize [options]How to use it, with examples: Code quality.
All options
| Option | Value | Default | Description |
|---|---|---|---|
--select | TEXT | Fixable rules to apply (repeatable or comma-separated) [default: all fixable]. | |
--apply | Write the verified fixes into the working tree. | ||
--unverified | With --apply: accept a build as the only check (no tests, no cases). | ||
--keep | Keep the scratch copies (path printed). | ||
--fobos, -f | TEXT | Specify a "fobos" file named differently from "fobos" | |
--fci | Assume fobos inputs as case insensitive | ||
--mode | TEXT | Select a mode defined into a fobos file | |
--json | Emit structured JSON to stdout instead of human-readable output (useful for scripting / agents) |