mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
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:
committed by
GitHub
parent
9f56e2671c
commit
8711dcb9da
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user