UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

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