UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

16 lines 518 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.convertNoBigFunction = void 0; const convertNoBigFunction = (tslintRule) => { var _a; return { rules: [ { ruleArguments: [{ max: (_a = tslintRule.ruleArguments[0]) !== null && _a !== void 0 ? _a : 200 }], ruleName: "max-lines-per-function", }, ], }; }; exports.convertNoBigFunction = convertNoBigFunction; //# sourceMappingURL=no-big-function.js.map