Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/CUSTOMIZATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Override score, severity, or enable/disable individual rules:

| Rule ID | Default Score | Default Severity |
|---------|--------------|-----------------|
| `missing-interaction-state` | -5 | risk |
| `missing-interaction-state` | -1 | suggestion |
| `missing-prototype` *(disabled)* | -3 | missing-info |
<!-- RULE_TABLE_END -->

Expand Down
6 changes: 3 additions & 3 deletions src/core/rules/rule-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const RULE_ID_CATEGORY: Record<RuleId, Category> = {
* - responsive-critical: -8 ~ -6 (size-constraints ΔV +15.9% at responsive viewports)
* - code-quality: -7 ~ -3 (CSS classes -8~15, no pixel impact)
* - token-management: -5 ~ -4 (wrong input = wrong output, irregular spacing actively causes errors)
* - interaction: -5 (wrong guess > omission, interview confirmed)
* - interaction: -1 (uncalibrated — no metric to validate, kept minimal #210)
* - semantic: -4 ~ -1 (non-semantic-name upgraded per interview — causes actual implementation errors)
*
* Category weights removed (#196) — overall score is simple average of categories.
Expand Down Expand Up @@ -127,8 +127,8 @@ export const RULE_CONFIGS: Record<RuleId, RuleConfig> = {

// ── Interaction ──
"missing-interaction-state": {
severity: "risk",
score: -5,
severity: "suggestion",
score: -1, // uncalibrated: no metric to validate score (#210), kept at -1 to preserve category visibility
enabled: true,
},
"missing-prototype": {
Expand Down
Loading