> For the complete documentation index, see [llms.txt](https://mhy.js.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mhy.js.org/tools/processes/prettier.md).

# prettier

## Default command

```bash
prettier --config=mhy/configs/prettier --write src/**/*.{js,jsx,ts,tsx}
```

## CLI Options

<https://prettier.io/docs/en/cli.html>

## Examples

### Default CLI

```bash
mhy prettier
```

### On another directory

```bash
mhy prettier another_directory
```
