feat: allow extending default checkProperties in no-untranslated-string #175
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.36) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 181 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.311
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #175"
general
weight: 0.35
Darshan808
Resolves #174
Summary of Changes
In
jupyter/no-untranslated-string,checkPropertiespreviously replaced the built-in list of 11 standard properties (DEFAULT_CHECK_PROPERTIES). This forced developers adding custom project-specific props (e.g.helperText,description,emptyMessage) to manually restate all default accessibility and DOM properties to avoid losing coverage.This PR adds
extendDefaultCheckProperties(defaulting totrue), matching:extendDefaultOwnershipFunctionNamesandextendDefaultIgnoredReturnFunctionNamesinrequire-disposable-*(#89)extendDefaultLongLivedTypesinrequire-signal-cleanupandprefer-signal-this-arg(#173)Details
resolveNameListOptionfromsrc/utils/options.tsto extendDEFAULT_CHECK_PROPERTIESby default while still normalizing property names (both hyphenated and camelCase).extendDefaultCheckProperties: { type: 'boolean', default: true }and updateddefaultOptions.website/docs/rules/no-untranslated-string.mdwith option descriptions and examples for extending, replacing, or dropping defaults.checkPropertiesextends default properties, and updated existing tests that assert replacing/dropping the built-in list to passextendDefaultCheckProperties: false. All 26 test suites pass cleanly.