UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

23 lines (22 loc) 693 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.convertPipePrefix = void 0; const convertPipePrefix = (tslintRule) => { return { rules: [ { ...(tslintRule.ruleArguments.length !== 0 && { ruleArguments: [ { prefixes: tslintRule.ruleArguments, }, ], }), ruleName: "@angular-eslint/pipe-prefix", }, ], plugins: ["@angular-eslint/eslint-plugin"], }; }; exports.convertPipePrefix = convertPipePrefix; //# sourceMappingURL=pipe-prefix.js.map