Run the Linter
Basic Usage
From the project root:
bash
lantern lintFrom anywhere:
bash
lantern lint /path/to/my-agent-projectStrict Mode
By default, only errors fail the process.
Use --strict to fail on any finding, including warnings and info:
bash
lantern lint --strictThis is useful in CI when you want a clean project model.
JSON Output
Use --json for machines:
bash
lantern lint --jsonUse both flags in CI:
bash
lantern lint --json --strictTypical Workflow
- Run
lantern lint. - Fix errors first.
- Review warnings next.
- Decide whether info findings are intentional.
- Add
--strictin CI once the project is stable.
