From bfec30a9feef1fecff99a5203ce69c6a3acb93cc Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 4 Sep 2022 04:44:42 +1000 Subject: [PATCH] Clean up data driven mappings syntax (#18257) --- data/mappings/info_config.json | 4 ++-- data/mappings/info_rules.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/mappings/info_config.json b/data/mappings/info_config.json index 582b5149ea4..608fe4e9ad1 100644 --- a/data/mappings/info_config.json +++ b/data/mappings/info_config.json @@ -111,9 +111,9 @@ "NO_ACTION_MACRO": {"info_key": "_invalid.no_action_macro", "invalid": true}, "NO_ACTION_FUNCTION": {"info_key": "_invalid.no_action_function", "invalid": true}, "DESCRIPTION": {"info_key": "_invalid.usb_description", "invalid": true}, - "DEBOUNCING_DELAY": {"info_key": "_invalid.debouncing_delay", "invalid": true, replace_with: "DEBOUNCE"}, + "DEBOUNCING_DELAY": {"info_key": "_invalid.debouncing_delay", "invalid": true, "replace_with": "DEBOUNCE"}, "PREVENT_STUCK_MODIFIERS": {"info_key": "_invalid.prevent_stuck_mods", "invalid": true}, "UNUSED_PINS": {"info_key": "_invalid.unused_pins", "deprecated": true}, "RGBLIGHT_ANIMATIONS": {"info_key": "rgblight.animations.all", "value_type": "bool", "deprecated": true}, - "QMK_KEYS_PER_SCAN": {"info_key": "qmk.keys_per_scan", "value_type": "int", "deprecated": true}, + "QMK_KEYS_PER_SCAN": {"info_key": "qmk.keys_per_scan", "value_type": "int", "deprecated": true} } diff --git a/data/mappings/info_rules.json b/data/mappings/info_rules.json index 3f140277fea..a4da10fd312 100644 --- a/data/mappings/info_rules.json +++ b/data/mappings/info_rules.json @@ -36,5 +36,5 @@ # Items we want flagged in lint "CTPC": {"info_key": "_deprecated.ctpc", "deprecated": true, "replace_with": "CONVERT_TO=proton_c"}, "CONVERT_TO_PROTON_C": {"info_key": "_deprecated.ctpc", "deprecated": true, "replace_with": "CONVERT_TO=proton_c"}, - "VIAL_ENABLE": {"info_key": "_invalid.vial", "invalid": true}, + "VIAL_ENABLE": {"info_key": "_invalid.vial", "invalid": true} }