dev format-docs: Added the option of specifying folders / files and fixed issue with skipped JSON code blocks by olehermanse · Pull Request #22 · cfengine/cfengine-cli

@olehermanse

We now use cfengine dev lint-docs to check CFEngine and JSON syntax.

Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>
Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>
Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>
…blocks

We have our own code for formatting JSON and cf3.

I was seeing an issue where JSON code blocks were getting reformatted
even if I marked them as skip / noautoformat. Prettier would "get in
the way" by reformatting the JSON code blocks.

Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>