Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.qlty.sh/llms.txt

Use this file to discover all available pages before exploring further.

qlty config migrate [OPTIONS]
Update qlty.toml with settings from .codeclimate.yml Qlty’s default thresholds for Code Smells differ from the default thresholds in Quality Classic. Because of this, maintainability ratings in Qlty may differ from those seen in Classic. For repos with a committed .codeclimate.yml file, qlty config migrate will adjust your Qlty configuration to more closely align with your configuration in Quality Classic. For example:
  • If your .codeclimate.yml specifies a custom threshold for the return-statements check, qlty config migrate will copy this threshold into your qlty.toml
  • If your .codeclimate.yml does not specify a custom threshold for the return-statements check, qlty config migrate will copy the default threshold for Quality Classic’s return-statements check into your qlty.toml
Additionally, qlty config migrate will copy any existing prepare statements which exist in your .codeclimate.yml.

Arguments

Prints the migrated version of qlty.toml to the console without saving it to disk

Examples

Migrate configuration from .codeclimate.yml into qlty.toml
qlty config migrate
Preview the migration without making changes
qlty config migrate --dry-run

See Also