src/models/tcp/tcpProxy.js
Function create
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function create (logger, encoding, isEndOfRequest) {
if (typeof isEndOfRequest === 'undefined') {
isEndOfRequest = () => true; // defaults to a packet boundary
}
Function to
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function to (proxyDestination, originalRequest, options = {}) {
return new Promise((resolve, reject) => {
try {
const proxyName = socketName(connectionInfoFor(proxyDestination)),
log = (direction, what) => {
Parsing error: Invalid ecmaVersion. Open
Open
'use strict';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/