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