--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 initialized.
Arguments
[PATHS]...
[PATHS]...
Files to analyze
-a, --all
-a, --all
Check all files, not just changed
--fix
--fix
Apply all auto-fix suggestionsWhen 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
--no-fix
Do not apply auto-fix suggestions
--ai
--ai
Generate AI fixes (requires Qlty Cloud authentication)The fixes are generated by a large language model and require Qlty Cloud authentication. AI fixes should be reviewed before applying. Using
--ai with --fix applies AI suggestions automatically without review—see Security Considerations.--unsafe
--unsafe
Allow fixes for rules that may produce incorrect results and require careful human reviewThese are 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-formatters
Disable formatter checks
--no-progress
--no-progress
Disable progress bar
--no-fail
--no-fail
Exit successfully regardless of what issues are found
--no-error
--no-error
Exit successfully regardless of linter errors
--sample <SAMPLE>
--sample <SAMPLE>
Sample results from a number of files for each linter
--level <LEVEL>
--level <LEVEL>
Minimum level of issues to show[default: note] [possible values: note, fmt, low, medium, high]
-j, --jobs <JOBS>
-j, --jobs <JOBS>
Maximum number of concurrent jobs
--filter <FILTER>
--filter <FILTER>
Only run these plugins, or only report these rules (comma-separated)Each entry is a plugin name (
eslint) or a plugin and rule joined by a
colon (eslint:no-unused-vars). A plugin name runs only that plugin. A
rule runs its plugin but reports only issues for that rule.Examples:
—filter eslint Run only eslint
—filter eslint,rubocop Run only eslint and rubocop
—filter eslint:no-unused-vars Report only eslint’s no-unused-vars issues
—filter eslint,rubocop:Style/StringLiterals
Report all eslint issues and only
rubocop’s Style/StringLiterals issuesUse with —skip to remove plugins or rules from what —filter selects.--skip <SKIP>
--skip <SKIP>
Don’t run these plugins, or don’t report these rules (comma-separated)Each entry is a plugin name (
rubocop) or a plugin and rule joined by a
colon (rubocop:Style/StringLiterals). A plugin name stops that plugin
from running. A rule still runs its plugin but drops issues for that rule.Examples:
—skip rubocop Run every plugin except rubocop
—skip rubocop,shellcheck Run every plugin except rubocop and shellcheck
—skip rubocop:Style/StringLiterals Run every plugin; drop that one rubocop ruleWith —filter, —filter picks what runs first and —skip removes from it.
When both match, —skip wins:
—filter eslint,rubocop —skip rubocop
Run only eslint
—filter eslint —skip eslint:no-console
Run only eslint; drop its no-console issuesEvery plugin named must be enabled, and skipping every plugin is an error.--trigger <TRIGGER>
--trigger <TRIGGER>
Run as this trigger, so only plugins whose
triggers include it runEach plugin’s triggers list in qlty.toml names the triggers it runs
on. A plugin with no triggers list runs on every trigger. Qlty’s git
hooks pass pre-commit to qlty fmt and pre-push to qlty check.Examples:
—trigger pre-push Run only plugins that run on pre-push[default: manual] [possible values: manual, ide, agent, pre-commit, pre-push, build]-v, --verbose...
-v, --verbose...
Print verbose output
--summary
--summary
Print a summary of issues
--upstream <UPSTREAM>
--upstream <UPSTREAM>
Upstream base ref to compare against
--no-cache
--no-cache
Disable caching issues
--print-errors
--print-errors
Print errors to stderr
--fail-level <FAIL_LEVEL>
--fail-level <FAIL_LEVEL>
Minimum level of issues to fail on[default: fmt] [possible values: note, fmt, low, medium, high]
--sarif
--sarif
SARIF output
--install-only
--install-only
Install tools only, do not run checks
--skip-source-fetch
--skip-source-fetch
Skip fetching sources before running checks
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