tslint-to-eslint-config
Version:
Converts your TSLint configuration to the closest reasonable ESLint equivalent.
15 lines (14 loc) • 569 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.mergeNamingConvention = void 0;
const mergeNamingConvention = (existingOptions, newOptions) => {
if (existingOptions === undefined && newOptions === undefined) {
return [];
}
return [
...(existingOptions !== null && existingOptions !== void 0 ? existingOptions : []),
...(newOptions !== null && newOptions !== void 0 ? newOptions : []),
];
};
exports.mergeNamingConvention = mergeNamingConvention;
//# sourceMappingURL=naming-convention.js.map