Fix offending l10n.t call and add an eslint rule to prevent it from happening (#277577)

ref https://github.com/microsoft/vscode/issues/277576
This commit is contained in:
Tyler James Leonhardt
2025-11-14 18:13:03 -08:00
committed by GitHub
parent 9f56e2671c
commit 8711dcb9da
3 changed files with 92 additions and 1 deletions

View File

@@ -90,6 +90,7 @@ export default tseslint.config(
'local/code-no-reader-after-await': 'warn',
'local/code-no-observable-get-in-reactive-context': 'warn',
'local/code-policy-localization-key-match': 'warn',
'local/code-no-localization-template-literals': 'error',
'local/code-no-deep-import-of-internal': ['error', { '.*Internal': true, 'searchExtTypesInternal': false }],
'local/code-layering': [
'warn',