config migrate

$qlty config migrate

Adjust your qlty.toml to replicate the maintainability ratings seen in Quality Classic.

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.

Examples

Migrate configuration from .codeclimate.yml into qlty.toml
$qlty config migrate

See Also