3.1.1 • Published 4 months ago
@untile/biome-config v3.1.1
Requirements
- Node.js >= 20
- ESLint >= 9
- TypeScript >= 4.9.0
- Biome >= 1.9
Installation
With npm
:
npm install @biomejs/biome @untile/biome-config --save-dev
Or using yarn
:
yarn add @biomejs/biome @untile/biome-config -D
Setup
Create a biome.json
file in your project root and extend this configuration:
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"extends": ["@untile/biome-config"]
}
Usage
Add the following script
to your package.json
:
{
"scripts": {
"biome:lint": "biome lint --error-on-warnings ."
}
}
read more about the biome:lint
script here.
or using as a formatter:
{
"scripts": {
"biome:format": "biome format ."
}
}
read more about the `biome:format` script [here](https://biomejs.dev/formatter/).
3.1.1
4 months ago