src/mountebank.js
Function createApp
has 106 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function createApp (options) {
applyDefaults(options);
const app = express(),
hostname = options.host || 'localhost',
Function listen
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function listen (app, options) {
const hostname = options.host || 'localhost',
baseURL = `http://${hostname}:${options.port}`,
logger = utilLogger.createLogger(options),
isAllowedConnection = utilIp.createIPVerification(options);
Parsing error: Invalid ecmaVersion. Open
Open
'use strict';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/