src/locale/LocaleManager.ts
Function init
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public init (): Promise<i18next.TranslationFunction> {
return new Promise((resolve, reject) => {
const opts: i18nextNodeFsBackEnd.i18nextNodeFsBackEndOptions = {
addPath: `${__dirname}/../../i18n/{{lng}}/{{ns}}.missing.json`,
jsonIndent: 4,
- Create a ticketCreate a ticket