You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/rules/no-unlocalized-strings.md
+11-12Lines changed: 11 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,32 +127,30 @@ Wildcard examples:
127
127
128
128
Array of property/attribute names whose string values should be ignored.
129
129
130
+
This list is intentionally minimal — most HTML/SVG attributes are detected automatically via TypeScript types (string literal unions like `"button" | "submit"` for `type`).
**Note**: Properties like `type`, `role`, `href`, `id` are NOT in the default list because TypeScript automatically detects them as technical when they have string literal union types.
153
+
156
154
### `ignoreNames`
157
155
158
156
Array of variable names to ignore.
@@ -192,6 +190,7 @@ The rule uses heuristics to determine if a string looks like UI text:
192
190
- URLs and paths (`/`, `https://`, `mailto:`)
193
191
- Identifiers without spaces (`myFunction`, `my-css-class`)
0 commit comments