UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

18 lines 705 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.convertComponentMaxInlineDeclarations = void 0; const convertComponentMaxInlineDeclarations = (tslintRule) => { return { rules: [ { ...(tslintRule.ruleArguments.length !== 0 && { ruleArguments: [...tslintRule.ruleArguments], }), ruleName: "@angular-eslint/component-max-inline-declarations", }, ], plugins: ["@angular-eslint/eslint-plugin"], }; }; exports.convertComponentMaxInlineDeclarations = convertComponentMaxInlineDeclarations; //# sourceMappingURL=component-max-inline-declarations.js.map