biome-js

Configure BiomeJS biome.jsonc files with extends and files.includes patterns.

69|3|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/PaulRBerg/agent-skills --skill biome-js
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: biome-js
Source: https://github.com/PaulRBerg/agent-skills/tree/main/skills/biome-js
Command: npx skills add https://github.com/PaulRBerg/agent-skills --skill biome-js

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

BiomeJS configuration can be complex, requiring careful setup of extends, file patterns, and project-specific overrides. This skill provides practical guidance to configure BiomeJS across projects, ensuring consistent linting and formatting configurations.

Core Features & Use Cases

  • Shows how to extend shared configs via npm exports while maintaining explicit files.includes.
  • Demonstrates monorepo inheritance and how to apply per-package overrides.
  • Provides concrete patterns for UI projects, root configs, and typical exclusions.

Quick Start

Create or update biome.jsonc at the root of your project with an extends entry (for example, ["@sablier/devkit/biome"]) and a files.includes pattern appropriate for your project (e.g., "/*.{js,json,jsonc,ts}", "!node_modules//*"). If working in a monorepo, ensure the root biome.jsonc is inherited by packages via the ["//"] syntax and add package-specific overrides as needed.

Frequently Asked Questions about biome-js

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

FAQPage Schema
How do I configure BiomeJS for a monorepo project?

Configure BiomeJS in a monorepo by creating a root biome.jsonc with an extends entry pointing to a shared config (e.g., @sablier/devkit/biome) and explicit files.includes patterns. Use the ["//"] syntax to inherit the root config in package-level biome.jsonc files, then add package-specific overrides as needed for linting and formatting rules.

What's the correct way to set up extends in a BiomeJS configuration?

Extends in BiomeJS allows you to inherit shared configurations via npm exports. Declare extends as an array in biome.jsonc (e.g., ["@sablier/devkit/biome"]), then pair it with explicit files.includes patterns to specify which files the configuration applies to, ensuring consistent linting across your project.

How do I apply per-package BiomeJS overrides in a monorepo?

In each package's biome.jsonc, inherit from the root config using ["//"] syntax, then define package-specific overrides for linting and formatting rules. This allows you to maintain a shared base configuration while customizing behavior for individual packages based on their needs.

Can I use BiomeJS with UI projects and what patterns work best?

BiomeJS works with UI projects through concrete configuration patterns for root configs and typical exclusions. Use files.includes to target your source files and node_modules exclusions, then extend shared configs to enforce consistent formatting and linting across your UI codebase.

Why does my BiomeJS configuration require explicit files.includes patterns?

Explicit files.includes patterns in BiomeJS ensure precise scoping of linting and formatting rules to your project's files. This prevents unintended rule application and maintains clarity about which files are covered, especially important in monorepos where different packages may have different requirements.

What's the required structure for a biome.jsonc file?

A biome.jsonc must include an extends entry (referencing shared configs as npm exports) and files.includes patterns defining which files the configuration applies to. This structure aligns with Biome's configuration rules and ensures explicit, maintainable configurations across your project.