bookbrainz/bookbrainz-site

View on GitHub
src/server/helpers/auth.ts

Summary

Maintainability
A
2 hrs
Test Coverage

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

export function init(app) {
    const {orm} = app.locals;
    try {
        let strategy;
        // eslint-disable-next-line node/no-process-env
Severity: Major
Found in src/server/helpers/auth.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status