forked from mirrors/qmk_userspace
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
13
lib/python/qmk/tests/minimal_info.json
Normal file
13
lib/python/qmk/tests/minimal_info.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"keyboard_name": "tester",
|
||||
"maintainer": "qmk",
|
||||
"height": 5,
|
||||
"width": 15,
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{ "label": "KC_A", "x": 0, "y": 0, "matrix": [0, 0] }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue