Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zumerlab/zumerbox-code-format

A zumerBox tool for styling format code
https://github.com/zumerlab/zumerbox-code-format

code-formatter prettier zumerbox

Last synced: 19 days ago
JSON representation

A zumerBox tool for styling format code

Awesome Lists containing this project

README

        

# @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](https://github.com/zumerlab/zumerbox) for more information and tools.

## Installation

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

## Usage

```bash
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)