check
Run linters
By default, only changed files are analyzed. Use --all or specify paths to override this behavior.
Installs plugins and their required runtimes as needed before analyzing.
By default, issues are cached locally to speed up subsequent runs.
Must be run within a Git repository with Qlty initializd.
Arguments
[PATHS]...
-a, --all
--fix
Apply all auto-fix suggestions automatically. When combined with --ai, AI-generated fixes are applied without prompting for review. See AI Autofixes Security Considerations for important guidance when using this flag.
--no-fix
--ai
Generate AI-powered fixes using a large language model (requires Qlty Cloud authentication). AI fixes should be reviewed before applying. Using --ai with --fix applies AI suggestions automatically without review—see Security Considerations.
--unsafe
Allow fixes for rules that may produce incorrect results and require careful human review. By default, fixes for certain rules are blocked because they are more likely to need manual judgment. This flag removes those restrictions.
--no-formatters
--no-progress
--no-fail
--no-error
--sample
--sample
Sample results from a number of files for each linter
--level
--level
Minimum level of issues to show [default: note] [possible values: note, fmt, low, medium, high]
-j, --jobs
-j, --jobs
--filter
--filter
-v, --verbose...
--summary
--upstream
--upstream
--no-cache
--print-errors
--fail-level <FAIL_LEVEL>
Minimum level of issues to fail on [default: fmt] [possible values: note, fmt, low, medium, high]