Shared Biome configuration for exile.watch projects
Last updated 2 days ago
Was this helpful?
This package contains shared Biome configuration and Biome dependency (including it's binary).
Install the package as a devDependency:
devDependency
npm i -D @exile-watch/biome-config
Add/update following scripts properties in repo's root package.json:
scripts
package.json
// {root}/package.json { // ... "scripts": { // ... "lint": "npx @biomejs/biome check .", "lint:apply": "npx @biomejs/biome check --apply .", "format": "npx @biomejs/biome format --write ." } }
Create biome.json with following content:
biome.json
// {root}/biome.json { "extends": ["@exile-watch/biome-config"] }
is a fast formatter and a performant linter.
@exile-watch/biome-config