Add a qmk format-json
command that will format JSON files (#12372)
* Add a command to format json files * change to work after rebase * add test for qmk format-json * add documentation for qmk format-json * Update lib/python/qmk/cli/format/json.py
This commit is contained in:
parent
a74846a0db
commit
3e60997edb
15 changed files with 319 additions and 107 deletions
7
lib/python/qmk/tests/minimal_keymap.json
Normal file
7
lib/python/qmk/tests/minimal_keymap.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"keyboard": "handwired/pytest/basic",
|
||||
"keymap": "test",
|
||||
"layers": [["KC_A"]],
|
||||
"layout": "LAYOUT_ortho_1x1",
|
||||
"version": 1
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue