dprint_core::configuration

Function handle_renamed_config_property

source
pub fn handle_renamed_config_property(
    config: &mut ConfigKeyMap,
    old_key: &str,
    new_key: &str,
    diagnostics: &mut Vec<ConfigurationDiagnostic>,
)
Expand description

If it exists, moves over the configuration value over from the old key to the new key and adds a diagnostic.