🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@goatlab/biome

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goatlab/biome

Shared Biome configuration for GoatLab projects

latest
npmnpm
Version
0.1.0
Version published
Maintainers
3
Created
Source

@goatlab/biome

Shared Biome configuration for GoatLab projects.

Installation

pnpm add -D @goatlab/biome @biomejs/biome

Usage

Create a biome.json file in your project root:

{
  "$schema": "https://biomejs.dev/schemas/2.1.3/schema.json",
  "extends": ["../../packages/biome/biome.json"]
}

Or if using the published package:

{
  "$schema": "https://biomejs.dev/schemas/2.1.3/schema.json",
  "extends": ["node_modules/@goatlab/biome/biome.json"]
}

Scripts

Add these scripts to your package.json:

{
  "scripts": {
    "format": "biome format --write .",
    "lint": "biome lint --write .",
    "check": "biome check --write ."
  }
}

VS Code Integration

Install the Biome VS Code extension and add this to your workspace settings:

{
  "editor.defaultFormatter": "biomejs.biome",
  "editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
    "quickfix.biome": "explicit",
    "source.organizeImports.biome": "explicit"
  }
}

Rule Mappings from ESLint

This configuration includes equivalent rules for the following ESLint/Prettier settings:

Formatting (from Prettier)

  • printWidth: 80 → lineWidth: 80
  • trailingComma: "none" → trailingCommas: "none"
  • singleQuote: true → quoteStyle: "single"
  • semi: false → semicolons: "asNeeded"
  • tabWidth: 2 → indentWidth: 2
  • arrowParens: "avoid" → arrowParentheses: "asNeeded"

Linting (from ESLint)

  • TypeScript naming conventions
  • Import organization
  • Unused imports/variables removal
  • Complexity limits (max 30)
  • Various code quality rules

See the biome.json file for the complete configuration.

Keywords

biome

FAQs

Package last updated on 30 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts