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:
Zach White
2021-03-25 04:38:10 -07:00
committed by GitHub
parent a74846a0db
commit 3e60997edb
15 changed files with 319 additions and 107 deletions

View 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] }
]
}
}
}