biome

Fix linting and formatting issues in JavaScript/TypeScript projects using Biome's CLI and biomes.json rules.

Updated Apr 5, 2023
One-click install
npx skills add https://github.com/fcalell/dotfiles --skill biome-fcalell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: biome
Source: https://github.com/fcalell/dotfiles/tree/main/dot_claude/skills/biome
Command: npx skills add https://github.com/fcalell/dotfiles --skill biome-fcalell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Biome helps teams maintain consistent JavaScript/TypeScript style and quality by applying configured linting and formatting rules across the codebase.

Core Features & Use Cases

  • Lint: detect and report code quality issues.
  • Format: automatically format code to a consistent style.
  • Rule overrides: manage project-specific lint rules and explain ignored sections.

Quick Start

Run biome check --write before committing to enforce the configured rules.

Frequently Asked Questions about biome

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

FAQPage Schema
How do I lint and format JavaScript and TypeScript code automatically?

You can lint and format JavaScript and TypeScript code automatically by running `biome check --write` before committing. This enforces configured code quality rules and applies auto-formatting to ensure consistent style across your codebase.

What is the best way to ignore specific linting rules in a project?

The best way to ignore specific linting rules is by configuring rule overrides in your biome.json file. This allows you to manage project-specific lint rules and explain ignored sections without disabling quality enforcement globally.

How do I set up rule overrides for code quality in JavaScript projects?

Set up rule overrides for code quality in JavaScript projects by defining configurations in biome.json. This enables selective ignoring of files and applies rule-based quality enforcement across the development workflow.

Does biome work with existing TypeScript formatting workflows?

Yes, biome works with existing TypeScript formatting workflows through a standardized CLI interface. It integrates into your development process to apply auto-formatting and consistent configuration across the codebase.

Why should I use biome for code quality instead of other linting tools?

You should use biome for code quality because it combines linting, formatting, and rule enforcement in a single tool. It provides auto-fix capabilities, rule overrides, and selective file ignoring through a standardized CLI interface.

Can I selectively ignore files when enforcing code rules?

Yes, you can selectively ignore files when enforcing code rules by configuring biome.json. This allows you to apply rule overrides and manage project-specific lint rules while maintaining quality enforcement on the rest of your codebase.