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]...
Files to analyze
-a, --all
Check all files, not just changed
--fix
Apply all auto-fix suggestions
--no-fix
Do not apply auto-fix suggestions
--ai
Generate AI fixes (requires OpenAI API key)
--unsafe
Allow unsafe fixes
--no-formatters
Disable formatter checks
--no-progress
Disable progress bar
--no-fail
Exit successfully regardless of what issues are found
--no-error
Exit successfully regardless of linter errors
--sample
Sample results from a number of files for each linter
--level
Minimum level of issues to show [default: note] [possible values: note, fmt, low, medium, high]
-j, --jobs
Maximum number of concurrent jobs
--filter
Filter by plugin or check
-v, --verbose...
Print verbose output
--summary
Print a summary of issues
--upstream
Upstream base ref to compare against
--no-cache
Disable caching issues
--print-errors
Print errors to stderr
--fail-level <FAIL_LEVEL>
Minimum level of issues to fail on [default: fmt] [possible values: note, fmt, low, medium, high]
--sarif
SARIF output
Examples
Run linters on changed files on your current branch
Run linters on all files
Run only ESLint on all files
Run linters on the web/ folder