tslint-to-eslint-config
Version:
Converts your TSLint configuration to the closest reasonable ESLint equivalent.
17 lines (16 loc) • 553 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.convertRxjsNoUnsafeSwitchmap = void 0;
const convertRxjsNoUnsafeSwitchmap = ({ ruleArguments }) => {
return {
rules: [
{
...(ruleArguments.length !== 0 && { ruleArguments }),
ruleName: "rxjs/no-unsafe-switchmap",
},
],
plugins: ["eslint-plugin-rxjs"],
};
};
exports.convertRxjsNoUnsafeSwitchmap = convertRxjsNoUnsafeSwitchmap;
//# sourceMappingURL=rxjs-no-unsafe-switchmap.js.map