什么是 rule-options?
实现 lint 规则和协助的可配置选项的指南。当规则需要用户可配置的行为时使用。示例:<示例>用户想要向 lint 规则添加选项</示例><示例>用户需要为规则配置实现 JSON 反序列化</示例><示例>用户正在使用不同选项测试规则行为</示例> 来源:biomejs/biome。
实现 lint 规则和协助的可配置选项的指南。当规则需要用户可配置的行为时使用。示例:<示例>用户想要向 lint 规则添加选项</示例><示例>用户需要为规则配置实现 JSON 反序列化</示例><示例>用户正在使用不同选项测试规则行为</示例>
通过命令行快速安装 rule-options AI 技能到你的开发环境
来源:biomejs/biome。
Use this skill when implementing configurable options for lint rules. Covers defining option types, JSON deserialization, configuration merging, and testing with options.
Options live in biomeruleoptions crate. After running just gen-analyzer, a file is created for your rule.
Example for useThisConvention rule in biomeruleoptions/src/usethisconvention.rs:
实现 lint 规则和协助的可配置选项的指南。当规则需要用户可配置的行为时使用。示例:<示例>用户想要向 lint 规则添加选项</示例><示例>用户需要为规则配置实现 JSON 反序列化</示例><示例>用户正在使用不同选项测试规则行为</示例> 来源:biomejs/biome。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/biomejs/biome --skill rule-options实现 lint 规则和协助的可配置选项的指南。当规则需要用户可配置的行为时使用。示例:<示例>用户想要向 lint 规则添加选项</示例><示例>用户需要为规则配置实现 JSON 反序列化</示例><示例>用户正在使用不同选项测试规则行为</示例> 来源:biomejs/biome。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/biomejs/biome --skill rule-options 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/biomejs/biome