UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

16 lines 587 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mergeBanOperators = void 0; const mergeBanOperators = (existingOptions, newOptions) => { if (existingOptions === undefined && newOptions === undefined) { return []; } return [ { ...existingOptions === null || existingOptions === void 0 ? void 0 : existingOptions[0], ...newOptions === null || newOptions === void 0 ? void 0 : newOptions[0], }, ]; }; exports.mergeBanOperators = mergeBanOperators; //# sourceMappingURL=ban-operators.js.map