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