I’ve been footling around with my plugin a bit to try and generate a PR automatically when a new version is released. So - is the layout of the json files significant.
Most of the entries look like
\t\t\t{
\t\t\t"folder-name": "Linter++",
\t\t\t"display-name": "Linter++",
\t\t\t"version": "1.0.3.0",
\t\t\t"npp-compatible-versions": "[8.7.5,]",
\t\t\t"id": "F56573351010B62BFC75039725496C8687D53E82A3F47074F1F1B629A37A92C1",
\t\t\t"repository": "https://github.com/ThosRTanner/notepad-pp-linter/releases/download/1.0.3/plugin_dll_ARM64.zip",
\t\t\t"description": "Allows realtime code check against any checkstyle-compatible linter: jshint, eslint, jscs, phpcs, csslint, and many others.",
\t\t\t"author": "Tom Tanner",
\t\t\t"homepage": "https://github.com/thosrtanner/notepad-pp-linter"
\t\t\t},
So I thought i could do my updater in python, just load up the json file, modify my entry, and dump it back, then commit
One entry (just one) uses spaces instead of tabs.
So my question is is there an official layout for these files? Is any valid json permissible (all on one line for instance), or is it expected to be formatted as 1 line per key and indented with tabs?
Would converting those spaces to tabs as part of my PR be frowned upon, or should I just read the file and modify the lines appropriately?