$qlty fmt [OPTIONS] [PATHS]

Auto-format files by rewriting them in place

By default, only changed files are auto-formatted. Use --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 initializd.

Arguments

Examples

Auto-format changed files on your current branch
$qlty fmt
Auto-format all files with prettier
$qlty fmt --all --filter=prettier
Auto-format files in a directory
$qlty fmt web/

See Also