Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.qlty.sh/llms.txt

Use this file to discover all available pages before exploring further.

qlty check [OPTIONS] [PATHS]...
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

Files to analyze
Check all files, not just changed
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.
Do not apply auto-fix suggestions
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.
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.
Disable formatter checks
Disable progress bar
Exit successfully regardless of what issues are found
Exit successfully regardless of linter errors
Sample results from a number of files for each linter
Minimum level of issues to show [default: note] [possible values: note, fmt, low, medium, high]
Maximum number of concurrent jobs
Filter by plugin or check
Print verbose output
Print a summary of issues
Upstream base ref to compare against
Disable caching issues
Minimum level of issues to fail on [default: fmt] [possible values: note, fmt, low, medium, high]
SARIF output

Examples

Run linters on changed files on your current branch
qlty check
Run linters on all files
qlty check --all
Run only ESLint on all files
qlty check --all --filter=eslint
Run linters on the web/ folder
qlty check web/

See Also