Skip to content

zumerlab/zumerbox-code-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@zumerbox/code-format

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.

Installation

npm install @zumerbox/code-format --save-dev

Usage

npx @zumerbox/code-format

Options

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.

Credits

This tool is powered by Prettier (https://prettier.io)