exile.watch docs
  • Introduction
  • The Maven - exile.watch context
  • Projects
    • hideout
    • crucible
      • Contributing
    • writ
      • Contributing
    • splinters
      • Contributing
      • @exile-watch/vite-config
      • @exile-watch/biome-config
      • @exile-watch/typescript-config
      • @exile-watch/unit-testing-config
      • @exile-watch/lefthook-config
    • nucleus
      • Contributing (data)
        • Encounter token breakdown
      • Contributing (scripts)
        • Scripts definition
      • @exile-watch/encounter-data
      • @exile-watch/seo
    • malachai
      • Contributing
      • snap gyazo thumbnail
    • doryani
      • Contributing
      • Actions
        • Authenticate to GitHub Package Registry
        • Install npm dependencies
        • Code quality assurance
        • Deploy webapp
        • Publish package
        • Preview publish package
        • Preview deploy webapp
  • voidstone
    • Contributing
  • Development
    • Commit message guidelines
    • Prerequisites
    • Generating GitHub PAT
    • .npmrc file
  • Architecture
    • Dependencies
    • Tech stack
    • Adoption chart
    • GHA workflows web
  • Legal
    • License - FSL, Apache 2.0
    • Non-Affiliation Notice
    • Code of Conduct
    • Privacy Policy
Powered by GitBook
On this page
  • About @exile-watch/biome-config
  • About Biome
  • Usage

Was this helpful?

  1. Projects
  2. splinters

@exile-watch/biome-config

Shared Biome configuration for exile.watch projects

Previous@exile-watch/vite-configNext@exile-watch/typescript-config

Last updated 2 days ago

Was this helpful?

About

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

About Biome

Usage

  1. Install the package as a devDependency:

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

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

// {root}/package.json
{
  // ...
  "scripts": {
    // ...
    "lint": "npx @biomejs/biome check .",
    "lint:apply": "npx @biomejs/biome check --apply .",
    "format": "npx @biomejs/biome format --write ."
  }
}

  1. Create biome.json with following content:

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

is a fast formatter and a performant linter.

Biome
@exile-watch/biome-config
exile.watch logo