---
description: Prettier preconfigured util for code formatting.
---

# Format

## Usage

{% tabs %}
{% tab title="npm" %}
```bash
npm run format
```
{% endtab %}

{% tab title="Yarn" %}
```bash
yarn format
```
{% endtab %}

{% tab title="Prettier" %}
```bash
prettier --write src tests
```
{% endtab %}
{% endtabs %}

## Configuration
