rule-options

Installation
SKILL.md

Purpose

Use this skill when implementing configurable options for lint rules. Covers defining option types, JSON deserialization, configuration merging, and testing with options.

Prerequisites

  1. Understand that options should be minimal - only add when needed
  2. Options must follow Technical Philosophy
  3. Rule must be implemented before adding options

Common Workflows

Define Rule Options Type

Options live in biome_rule_options crate. After running just gen-analyzer, a file is created for your rule.

Example for useThisConvention rule in biome_rule_options/src/use_this_convention.rs:

Installs
34
Repository
biomejs/biome
GitHub Stars
24.9K
First Seen
Feb 18, 2026
rule-options — biomejs/biome