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
- Understand that options should be minimal - only add when needed
- Options must follow Technical Philosophy
- 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: