--all or specify paths to override this behavior.
Installs plugins and their required runtimes as needed before analyzing.
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
--no-progress
--no-progress
Disable progress bar
--no-error
--no-error
Exit successfully regardless of linter errors
--sample <SAMPLE>
--sample <SAMPLE>
Sample results from a number of files for each linter
--jobs <JOBS>
--jobs <JOBS>
Maximum number of concurrent jobs
--filter <FILTER>
--filter <FILTER>
Only run these formatter plugins (comma-separated)Examples:
—filter prettier Run only prettier
—filter prettier,black Run only prettier and blackUse with —skip to remove plugins from what —filter selects.
--skip <SKIP>
--skip <SKIP>
Don’t run these formatter plugins (comma-separated)Examples:
—skip prettier Run every formatter except prettier
—skip prettier,black Run every formatter except prettier and blackWith —filter, —filter picks what runs first and —skip removes from it.
When both match, —skip wins:
—filter prettier,black —skip black Run only prettierEvery plugin named must be enabled, and skipping every plugin is an error.
--trigger <TRIGGER>
--trigger <TRIGGER>
Run as this trigger, so only formatters 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-commit Run only formatters that run on pre-commit[default: manual] [possible values: manual, ide, agent, pre-commit, pre-push, build]-v, --verbose...
-v, --verbose...
Print verbose output
--upstream <UPSTREAM>
--upstream <UPSTREAM>
Upstream base ref to compare against
--index
--index
Format files in the Git index
--index-file <INDEX_FILE>
--index-file <INDEX_FILE>
Format files in the specified Git index file
--skip-source-fetch
--skip-source-fetch
Skip fetching sources before formatting
Examples
Auto-format changed files on your current branch
Auto-format all files with prettier
Auto-format files in a directory