refactor: apply eslint

This commit is contained in:
sbplat
2024-01-04 20:17:54 -05:00
parent 5fd505d4f4
commit 9c1588d150
53 changed files with 647 additions and 636 deletions

View File

@@ -1,13 +1,13 @@
import i18next from "i18next"
import resourcesToBackend from 'i18next-resources-to-backend';
import i18next from "i18next";
import resourcesToBackend from "i18next-resources-to-backend";
i18next
.use(resourcesToBackend((language, namespace) => import(`./${namespace}/${language}.json`)))
.init({
// debug: true,
ns: ['common'], // Preload this namespace, no need to add the others
defaultNS: 'common',
fallbackLng: 'en',
ns: ["common"], // Preload this namespace, no need to add the others
defaultNS: "common",
fallbackLng: "en",
interpolation: {
escapeValue: false,
}