chant lint [path] [flags]
chant lint loads the project at the given path, runs all configured lint rules, and reports diagnostics. Each diagnostic includes a rule ID (e.g. COR010, EVL001) alongside the file location and message.
chant lint
COR010
EVL001
--format
string
stylish
json
sarif
--fix
bool
false
-w, --watch
# Lint current directorychant lint # JSON output for CIchant lint --format json # SARIF for GitHub Code Scanningchant lint --format sarif > results.sarif # Auto-fixchant lint --fix # Watch modechant lint --watch