> For the complete documentation index, see [llms.txt](https://docs.exile.watch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exile.watch/projects/splinters/exile-watch-biome-config.md).

# @exile-watch/biome-config

<figure><img src="/files/phOqyIiKbklQTpQi6Q8A" alt="" width="200"><figcaption><p>exile.watch logo</p></figcaption></figure>

## About [`@exile-watch/biome-config`](https://github.com/exile-watch/splinters/tree/main/packages/biome-config)

This package contains shared Biome configuration and Biome dependency (including it's binary).

## About Biome

[Biome](https://biomejs.dev/) is a fast formatter and a performant linter.

## Usage

1. Install the package as a `devDependency`:

```bash
npm i -D @exile-watch/biome-config
```

***

2. Add/update following `scripts` properties in repo's root `package.json`:

<pre class="language-jsonp"><code class="lang-jsonp">// {root}/package.json
{
  // ...
  "scripts": {
    // ...
    "lint": "npx @biomejs/biome check .",
<strong>    "lint:apply": "npx @biomejs/biome check --apply .",
</strong>    "format": "npx @biomejs/biome format --write ."
  }
}
</code></pre>

***

3. Create `biome.json` with following content:

```jsonp
// {root}/biome.json
{
  "extends": ["@exile-watch/biome-config"]
}
```
