Skip to content

Commit

Permalink
feat: add custom configuration for i18n ally VSCode extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ixartz committed May 9, 2024
1 parent 958d62e commit 46f9459
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .vscode/i18n-ally-custom-framework.yml
@@ -0,0 +1,12 @@
languageIds:
- javascript
- typescript
- javascriptreact
- typescriptreact

usageMatchRegex:
- "[^\\w\\d]t\\(['\"`]({key})['\"`]"

scopeRangeRegex: "(?:useTranslations\\(|getTranslations\\(|namespace:)\\s*['\"`](.*?)['\"`]"

monopoly: true

0 comments on commit 46f9459

Please sign in to comment.