Apply Prettier to the entire project

This ensures that our tests will be formatted by Prettier, among other things.
This commit is contained in:
Robin Townsend 2022-12-09 14:34:25 -05:00
commit 90ef5505bb
12 changed files with 72 additions and 80 deletions

View file

@ -6,11 +6,13 @@ export default {
createOldCatalogs: false,
defaultNamespace: "app",
lexers: {
ts: [{
lexer: "JavascriptLexer",
functions: ["t", "translatedError"],
functionsNamespace: ["useTranslation", "withTranslation"],
}],
ts: [
{
lexer: "JavascriptLexer",
functions: ["t", "translatedError"],
functionsNamespace: ["useTranslation", "withTranslation"],
},
],
},
locales: ["en-GB"],
output: "public/locales/$LOCALE/$NAMESPACE.json",