Skip to content

Commit bfec30a

Browse files
authored
Clean up data driven mappings syntax (qmk#18257)
1 parent 39e6117 commit bfec30a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

data/mappings/info_config.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@
111111
"NO_ACTION_MACRO": {"info_key": "_invalid.no_action_macro", "invalid": true},
112112
"NO_ACTION_FUNCTION": {"info_key": "_invalid.no_action_function", "invalid": true},
113113
"DESCRIPTION": {"info_key": "_invalid.usb_description", "invalid": true},
114-
"DEBOUNCING_DELAY": {"info_key": "_invalid.debouncing_delay", "invalid": true, replace_with: "DEBOUNCE"},
114+
"DEBOUNCING_DELAY": {"info_key": "_invalid.debouncing_delay", "invalid": true, "replace_with": "DEBOUNCE"},
115115
"PREVENT_STUCK_MODIFIERS": {"info_key": "_invalid.prevent_stuck_mods", "invalid": true},
116116
"UNUSED_PINS": {"info_key": "_invalid.unused_pins", "deprecated": true},
117117
"RGBLIGHT_ANIMATIONS": {"info_key": "rgblight.animations.all", "value_type": "bool", "deprecated": true},
118-
"QMK_KEYS_PER_SCAN": {"info_key": "qmk.keys_per_scan", "value_type": "int", "deprecated": true},
118+
"QMK_KEYS_PER_SCAN": {"info_key": "qmk.keys_per_scan", "value_type": "int", "deprecated": true}
119119
}

data/mappings/info_rules.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@
3636
# Items we want flagged in lint
3737
"CTPC": {"info_key": "_deprecated.ctpc", "deprecated": true, "replace_with": "CONVERT_TO=proton_c"},
3838
"CONVERT_TO_PROTON_C": {"info_key": "_deprecated.ctpc", "deprecated": true, "replace_with": "CONVERT_TO=proton_c"},
39-
"VIAL_ENABLE": {"info_key": "_invalid.vial", "invalid": true},
39+
"VIAL_ENABLE": {"info_key": "_invalid.vial", "invalid": true}
4040
}

0 commit comments

Comments
 (0)