90ef5505bb
This ensures that our tests will be formatted by Prettier, among other things.
22 lines
524 B
JavaScript
22 lines
524 B
JavaScript
export default {
|
|
keySeparator: false,
|
|
namespaceSeparator: false,
|
|
contextSeparator: "|",
|
|
pluralSeparator: "|",
|
|
createOldCatalogs: false,
|
|
defaultNamespace: "app",
|
|
lexers: {
|
|
ts: [
|
|
{
|
|
lexer: "JavascriptLexer",
|
|
functions: ["t", "translatedError"],
|
|
functionsNamespace: ["useTranslation", "withTranslation"],
|
|
},
|
|
],
|
|
},
|
|
locales: ["en-GB"],
|
|
output: "public/locales/$LOCALE/$NAMESPACE.json",
|
|
input: ["src/**/*.{ts,tsx}"],
|
|
sort: true,
|
|
useKeysAsDefaultValue: true,
|
|
};
|