UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

19 lines (18 loc) 655 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mergeTripleSlashReference = void 0; const mergeTripleSlashReference = (existingOptions, newOptions) => { var _a; return [ (_a = existingOptions === null || existingOptions === void 0 ? void 0 : existingOptions[0]) !== null && _a !== void 0 ? _a : newOptions === null || newOptions === void 0 ? void 0 : newOptions[0], ].filter(Boolean); }; exports.mergeTripleSlashReference = mergeTripleSlashReference; //# sourceMappingURL=triple-slash-reference.js.map