diff options
Diffstat (limited to 'data/mappings/info_rules.json')
| -rw-r--r-- | data/mappings/info_rules.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data/mappings/info_rules.json b/data/mappings/info_rules.json index 279b5ac213..9fd67f7785 100644 --- a/data/mappings/info_rules.json +++ b/data/mappings/info_rules.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | # warn_duplicate: Default `true`. Set to `false` to turn off warning when a value exists in both places | 9 | # warn_duplicate: Default `true`. Set to `false` to turn off warning when a value exists in both places |
| 10 | # deprecated: Default `false`. Set to `true` to turn on warning when a value exists | 10 | # deprecated: Default `false`. Set to `true` to turn on warning when a value exists |
| 11 | # invalid: Default `false`. Set to `true` to generate errors when a value exists | 11 | # invalid: Default `false`. Set to `true` to generate errors when a value exists |
| 12 | # replace_with: use with a key marked deprecated or invalid to designate a replacement | ||
| 12 | "BOARD": {"info_key": "board"}, | 13 | "BOARD": {"info_key": "board"}, |
| 13 | "BOOTLOADER": {"info_key": "bootloader", "warn_duplicate": false}, | 14 | "BOOTLOADER": {"info_key": "bootloader", "warn_duplicate": false}, |
| 14 | "BLUETOOTH": {"info_key": "bluetooth.driver"}, | 15 | "BLUETOOTH": {"info_key": "bluetooth.driver"}, |
| @@ -32,7 +33,7 @@ | |||
| 32 | "STENO_PROTOCOL": {"info_key": "stenography.protocol"}, | 33 | "STENO_PROTOCOL": {"info_key": "stenography.protocol"}, |
| 33 | 34 | ||
| 34 | # Items we want flagged in lint | 35 | # Items we want flagged in lint |
| 35 | "CTPC": {"info_key": "_deprecated.ctpc", "deprecated": true}, | 36 | "CTPC": {"info_key": "_deprecated.ctpc", "deprecated": true, "replace_with": "CONVERT_TO=proton_c"}, |
| 36 | "CONVERT_TO_PROTON_C": {"info_key": "_deprecated.ctpc", "deprecated": true}, | 37 | "CONVERT_TO_PROTON_C": {"info_key": "_deprecated.ctpc", "deprecated": true, "replace_with": "CONVERT_TO=proton_c"}, |
| 37 | "VIAL_ENABLE": {"info_key": "_invalid.vial", "invalid": true}, | 38 | "VIAL_ENABLE": {"info_key": "_invalid.vial", "invalid": true}, |
| 38 | } | 39 | } |
