Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit 1010945

Browse files
t3chguysandhose
authored andcommitted
Update i18next-parser.config.ts
1 parent eebbf2f commit 1010945

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

frontend/i18next-parser.config.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,14 @@ const config: UserConfig = {
2222
ts: [
2323
{
2424
lexer: "JavascriptLexer",
25-
functions: ["t", "translatedError"],
25+
functions: ["t"],
26+
namespaceFunctions: ["useTranslation", "withTranslation"],
27+
},
28+
],
29+
tsx: [
30+
{
31+
lexer: "JsxLexer",
32+
functions: ["t"],
2633
namespaceFunctions: ["useTranslation", "withTranslation"],
2734
},
2835
],

0 commit comments

Comments
 (0)