UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

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