Lint keyboard/project name (#16766)
parent
64974a7f8f
commit
11db29bedb
|
@ -71,6 +71,22 @@
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"min": 0.25
|
"min": 0.25
|
||||||
},
|
},
|
||||||
|
"keyboard": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"converter/numeric_keypad_IIe",
|
||||||
|
"emptystring/NQG",
|
||||||
|
"maple_computing/christmas_tree/V2017"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^[0-9a-z][0-9a-z_/]*$"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"mcu_pin_array": {
|
"mcu_pin_array": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {"$ref": "#/mcu_pin"}
|
"items": {"$ref": "#/mcu_pin"}
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"keyboard_name": {"$ref": "qmk.definitions.v1#/text_identifier"},
|
"keyboard_name": {"$ref": "qmk.definitions.v1#/text_identifier"},
|
||||||
|
"keyboard_folder": {"$ref": "qmk.definitions.v1#/keyboard"},
|
||||||
"maintainer": {"$ref": "qmk.definitions.v1#/text_identifier"},
|
"maintainer": {"$ref": "qmk.definitions.v1#/text_identifier"},
|
||||||
"manufacturer": {"$ref": "qmk.definitions.v1#/text_identifier"},
|
"manufacturer": {"$ref": "qmk.definitions.v1#/text_identifier"},
|
||||||
"url": {
|
"url": {
|
||||||
|
|
Loading…
Reference in New Issue