summaryrefslogtreecommitdiff
path: root/data/mappings/info_rules.json
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-06-09 20:02:58 +0000
committerQMK Bot <hello@qmk.fm>2022-06-09 20:02:58 +0000
commit474b4083aea9cdbf2be276809c897204c91ff964 (patch)
treef816e51684f2db402e40b81a1c3e5a29914845b7 /data/mappings/info_rules.json
parentc5f26b0e9a62c8f40b9f595b0432273ce8462261 (diff)
parenta599550adbd6b1291509d7cdc7ea61c92550a60c (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'data/mappings/info_rules.json')
-rw-r--r--data/mappings/info_rules.json9
1 files changed, 8 insertions, 1 deletions
diff --git a/data/mappings/info_rules.json b/data/mappings/info_rules.json
index a8b39afbd1..d4eec37ba0 100644
--- a/data/mappings/info_rules.json
+++ b/data/mappings/info_rules.json
@@ -7,6 +7,8 @@
# to_json: Default `true`. Set to `false` to exclude this mapping from info.json
# to_c: Default `true`. Set to `false` to exclude this mapping from rules.mk
# warn_duplicate: Default `true`. Set to `false` to turn off warning when a value exists in both places
+ # deprecated: Default `false`. Set to `true` to turn on warning when a value exists
+ # invalid: Default `false`. Set to `true` to generate errors when a value exists
"BOARD": {"info_key": "board"},
"BOOTLOADER": {"info_key": "bootloader", "warn_duplicate": false},
"BLUETOOTH": {"info_key": "bluetooth.driver"},
@@ -24,5 +26,10 @@
"SECURE_ENABLE": {"info_key": "secure.enabled", "value_type": "bool"},
"SPLIT_KEYBOARD": {"info_key": "split.enabled", "value_type": "bool"},
"SPLIT_TRANSPORT": {"info_key": "split.transport.protocol", "to_c": false},
- "WAIT_FOR_USB": {"info_key": "usb.wait_for", "value_type": "bool"}
+ "WAIT_FOR_USB": {"info_key": "usb.wait_for", "value_type": "bool"},
+
+ # Items we want flagged in lint
+ "CTPC": {"info_key": "_deprecated.ctpc", "deprecated": true},
+ "CONVERT_TO_PROTON_C": {"info_key": "_deprecated.ctpc", "deprecated": true},
+ "VIAL_ENABLE": {"info_key": "_invalid.vial", "invalid": true},
}