Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zumerlab/zumerbox-code-format
- Owner: zumerlab
- Created: 2024-03-21T09:28:25.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-27T12:23:31.000Z (10 months ago)
- Last Synced: 2024-03-28T12:25:21.271Z (10 months ago)
- Topics: code-formatter, prettier, zumerbox
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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)