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