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
Highlight the key advantage over traditional i18n linters:
- Automatic recognition of technical strings via types
- No manual whitelists for DOM APIs, Intl, unions
- Zero-config for TypeScript projects
Copy file name to clipboardExpand all lines: README.md
+24-1Lines changed: 24 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,35 @@
6
6
7
7
ESLint plugin for [Lingui](https://lingui.dev/) with TypeScript type-aware rules.
8
8
9
+
## Why TypeScript?
10
+
11
+
Traditional i18n linters rely on heuristics and manual whitelists to distinguish user-visible text from technical strings. This leads to false positives and constant configuration tweaking.
12
+
13
+
This plugin leverages TypeScript's type system to **automatically** recognize technical strings:
14
+
15
+
```ts
16
+
// ✅ Automatically ignored - TypeScript knows these are technical
0 commit comments