biome-config

Configure Biome linting, formatting, and import-organization across a monorepo.

21|2|Updated Nov 5, 2023
One-click install
npx skills add https://github.com/sgcarstrends/sgcarstrends --skill biome-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: biome-config
Source: https://github.com/sgcarstrends/sgcarstrends/tree/main/.claude/skills/biome-config
Command: npx skills add https://github.com/sgcarstrends/sgcarstrends --skill biome-config

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps configure Biome linting/formatting across the monorepo to maintain code quality and consistency.

Core Features & Use Cases

  • Workspace-wide rules and overrides per package.
  • Import organization and formatting consistent with guidelines.
  • Diagnostics and autofix for common issues.

Quick Start

Extend the root biome.json in apps/web with a project-specific rule.

Frequently Asked Questions about biome-config

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Biome for linting and formatting across a monorepo?

Configure Biome by creating a root biome.json with linter, formatter, and organizeImports sections, then add per-package overrides in each workspace. Use fields for vcs, files, and lint rules to enforce consistent code quality across all packages.

Can I customize import organization rules in Biome?

Yes, Biome's organizeImports configuration lets you define import ordering and grouping rules. Configure workspace-specific import guidelines in biome.json and run organize-imports to automatically sort and group imports consistently.

How do I migrate from ESLint and Prettier to Biome?

Migrate by mapping your ESLint rules and Prettier formatting preferences into Biome's linter and formatter configuration. Set up a root biome.json with equivalent rules, test with biome check and biome format, then validate against your existing codebase.

What's the best way to debug Biome configuration issues?

Run biome check with verbose output to identify which rules are failing and why. Review your biome.json schema against Biome's documentation, check for conflicting formatter and linter settings, and validate per-package overrides match the root configuration.

Can I apply different linting rules to specific packages in a monorepo?

Yes, define workspace-specific overrides in each package's biome.json or use the files field in the root configuration to apply different lint rules, formatting styles, and import-organization settings per package while maintaining a shared baseline.

Does Biome support autofix for linting violations?

Yes, Biome includes diagnostics and autofix capabilities. Run biome check --fix to automatically correct common linting issues, or use biome format to apply formatting rules, reducing manual code review overhead across your monorepo.