jkcfg / jk

Configuration as Code with ECMAScript
https://jkcfg.github.io
Apache License 2.0
404 stars 30 forks source link

jk format - prettier without any setup #266

Open dlespiau opened 5 years ago

dlespiau commented 5 years ago

It'd be nice to start working towards integrating some common toolchain-things in jk itself. This is taking the nice properties of the go toolchain which integrates linting, formatting, testing, ... and doesn't need the user to do anything.

We could:

dlespiau commented 4 years ago

prettier offers a compiled standalone.js package (https://prettier.io/docs/en/browser.html):

It should be somewhat straight forward to write jk format command built around this standalone.js.