check

$qlty check [OPTIONS] [PATHS]

Check for static analysis issues

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

One or more paths to scan for code smells.
Compute smells for all files, not just changed
Apply all auto-fix suggestions
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 (high, medium, low)

Maximum number of concurrent jobs
Filter by plugin or check
Print verbose output
Disable caching issues
Print errors to stderr
Minimium level of issues to fail on
Upstream base ref to compare against

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