rule-options
Installation
SKILL.md
Architecture Overview
Rule options flow through one typed path:
SonarQube UI → Java Check Class → configurations() → AnalyzeProjectRequest → normalizeJsTsRules() → ESLint Linter
The Java bridge encodes rule configurations as protobuf Value messages. Node.js receives numbers,
booleans, strings, arrays, and objects with their types preserved.
Key Files per Rule
| File | Purpose |
|---|---|
rule.ts |
ESLint rule implementation |
meta.ts |
implementation, eslintId, schema, re-exports fields |
config.ts |
fields array — source of truth for options |
generated-meta.ts |
Auto-generated defaultOptions — do not edit |