1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/data
Erovia fbfd5312b9
CLI: Validate JSON keymap input (#16261)
* Fix schema validator

It should use the passed schema.

* Add required attributes to keymap schema

* Rework subcommands to validate the JSON keymaps

The 'compile', 'flash' and 'json2c' subcommands were reworked to add
JSON keymap validation so error is reported for non-JSON and
non-compliant-JSON inputs.

* Fix required fields in keymap schema

* Add tests

* Fix compiling keymaps directly from keymap directory

* Schema should not require version for now.
2022-02-28 20:02:39 +00:00
..
mappings Update keyboard mapping for all moved boards this cycle (#16312) 2022-02-12 09:16:35 -08:00
schemas CLI: Validate JSON keymap input (#16261) 2022-02-28 20:02:39 +00:00
templates/keyboard Align new-keyboard with recent schema updates (#16378) 2022-02-16 20:58:40 +00:00