Skip to main content

axm lint

Check workspace configuration

axm lint [<workspace>] [flags]
NameTypeRequiredDefaultDescription
<workspace>stringNoExact workspace root to lint; omit to select from the working directory
NameTypeRequiredDefaultDescription
--scopechoice (project, user)NoprojectWorkspace scope
--strictbooleanNofalseTreat warnings as failing for exit code.
--fixbooleanNofalseNormalize local instruction aliases, then report remaining findings
--previewbooleanNofalseShow what would change without applying it
--stagedbooleanNofalseCheck the complete workspace from the Git index, including unchanged files

Lint the current project workspace

axm lint

Lint the user workspace under $HOME/.axm/workspace

axm lint --scope user

Treat warnings as failing for exit code

axm lint --strict

List every finding with its full detail

axm lint --verbose

Normalize managed instruction aliases

axm lint --fix

Preview instruction-alias normalization without applying it

axm lint --fix --preview

Lint the complete workspace represented by the Git index

axm lint --staged

Emit findings as a structured JSON document

axm lint --json