This tool is designed to facilitate code formatting using Prettier, a popular code formatting tool. It checks the formatting of JavaScript, HTML, and Markdown files within specified directories and their subdirectories.
Refer to the ZumerBox bundle for more information and tools.
npm install @zumerbox/code-format --save-dev
npx @zumerbox/code-format
By default Prettier is instructed to perform a check without making any changes to the files. To fix any formatting issues run @zumerbox/code-format
again with the --write
argument to fix code style.
This tool is powered by Prettier (https://prettier.io)