We would love your contributions to make this project better, and gladly accept PRs.
Note: please try to keep changes incremental. Big refactors cause heartburn, please try to make frequent, small PRs instead of large ones.
Use nvm to use the appropriate Node.js version from .nvmrc:
nvm iInstall the dependencies using npm:
npm iRun the build script:
npm run buildThe package is bundled using pkgroll (Rollup). It infers the entry-points from package.json so there are no build configurations.
To run the CLI locally without installing it globally, you can use the start script:
npm startFirst, install prettier.
npm run lint:fixIf you use Vscode, It is recommended to use prettier-vscode
Once you have made your changes, push them to your fork and send a pull request to the main repository. We will try to review your changes in a timely manner.