Skip to main content

CLI options and exit codes

The justify-disable command scans the git-tracked files of the current repository, or only the pathspecs you pass, and fails when a lint disable directive has no @todo reason above it.

justify-disable # scan the whole repo
justify-disable src docs/a.ts # scan only these pathspecs
justify-disable --json # machine-readable output
justify-disable --concurrency 8 # read 8 files in parallel
justify-disable -h # list all options
OptionDefaultDescription
--json—Emit machine-readable JSON instead of text
--concurrency <n>64Files read in parallel (positive integer)
Exit codeMeaning
0No error-severity violations (warnings may be printed)
1At least one error-severity violation
2Any error (bad config, not a git repository, …)