Commit ee70880
committed
Add ESLint rule to validate translator key destructuring
Implements no-undefined-translator-keys rule that prevents destructuring
undefined keys from createTranslator objects. Validates both same-file and
cross-file imports using AST parsing and Node.js module resolution.1 parent 2b93b0e commit ee70880
File tree
8 files changed
+1252
-1
lines changed- packages
- eslint-plugin-kolibri
- lib/rules
- tests/lib/rules
- fixtures
- kolibri-format
8 files changed
+1252
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments