axm lint
Check workspace configuration
Usage
Section titled Usageaxm lint [<workspace>] [flags]Arguments
Section titled Arguments| Name | Type | Required | Default | Description |
|---|---|---|---|---|
<workspace> | string | No | Exact workspace root to lint; omit to select from the working directory |
Flags
Section titled Flags| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--scope | choice (project, user) | No | project | Workspace scope |
--strict | boolean | No | false | Treat warnings as failing for exit code. |
--fix | boolean | No | false | Normalize local instruction aliases, then report remaining findings |
--preview | boolean | No | false | Show what would change without applying it |
--staged | boolean | No | false | Check the complete workspace from the Git index, including unchanged files |
Examples
Section titled ExamplesLint the current project workspace
axm lintLint the user workspace under $HOME/.axm/workspace
axm lint --scope userTreat warnings as failing for exit code
axm lint --strictList every finding with its full detail
axm lint --verboseNormalize managed instruction aliases
axm lint --fixPreview instruction-alias normalization without applying it
axm lint --fix --previewLint the complete workspace represented by the Git index
axm lint --stagedEmit findings as a structured JSON document
axm lint --json