src/app.ts
Function init
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const init: () => Promise<IInit> = async (): Promise<IInit> => {
return new Promise((resolve: (value: IInit | PromiseLike<IInit>) => void
): void => {
const app: Koa = new Koa();