@teteumachado/biome-config

1.1.0 • Public • Published

Biome Configs

My most commonly used Biome configuration.

Usage

Run:

yarn add -DE @biomejs/biome @ivangabriele/biome-config

Add this line to your biome.jsonc:

{
  "$schema": "https://biomejs.dev/schemas/1.8.0/schema.json",
  "extends": ["@ivangabriele/biome-config"],
}

Then add this line to your package.json:

{
  "scripts": {
    "test:lint": "biome check --write --no-errors-on-unmatched ."
  }
}

Visual Studio Code

Install Biome and Run On Save extensions.

.vscode/settings.json:

{
  "editor.defaultFormatter": "biomejs.biome",
  "[javascript]": {
    "editor.defaultFormatter": "biomejs.biome"
  },
  "[javascriptreact]": {
    "editor.defaultFormatter": "biomejs.biome"
  },
  "[json]": {
    "editor.defaultFormatter": "biomejs.biome"
  },
  "[typescript]": {
    "editor.defaultFormatter": "biomejs.biome"
  },
  "[typescriptreact]": {
    "editor.defaultFormatter": "biomejs.biome"
  }
}

Readme

Keywords

Package Sidebar

Install

npm i @teteumachado/biome-config

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

4.03 kB

Total Files

4

Last publish

Collaborators

  • teteumachado