resource-watch/adapter-gfw

View on GitHub
src/app.ts

Summary

Maintainability
A
2 hrs
Test Coverage

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

const init: () => Promise<IInit> = async (): Promise<IInit> => {
    return new Promise((resolve: (value: IInit | PromiseLike<IInit>) => void,
    ) => {
        const app: Koa = new Koa();

Severity: Major
Found in src/app.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status