packages/devtools-server/src/setup-server.ts
Function setupServer
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const setupServer = (app: Express, onError: () => void) => {
const server = http.createServer(app);
server
.on("error", (error: any) => {