ClarityMoe/hibiki

View on GitHub
src/locale/LocaleManager.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function init has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public init (): Promise<i18next.TranslationFunction> {
        return new Promise((resolve, reject) => {
            const opts: i18nextNodeFsBackEnd.i18nextNodeFsBackEndOptions = {
                addPath: `${__dirname}/../../i18n/{{lng}}/{{ns}}.missing.json`,
                jsonIndent: 4,
Severity: Minor
Found in src/locale/LocaleManager.ts - About 1 hr to fix

There are no issues that match your filters.

Category
Status