Lint keyboard/project name (#16766)

master
Joel Challis 2022-04-01 10:25:43 +01:00 committed by GitHub
parent 64974a7f8f
commit 11db29bedb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View File

@ -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"}

View File

@ -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": {