UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

19 lines (18 loc) 661 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.convertReactA11yAccessibleHeadings = void 0; const convertReactA11yAccessibleHeadings = (tslintRule) => { return { ...(tslintRule.ruleArguments.length === 1 && { notices: ["jsx-a11y/heading-has-content rule does not support maxHeadingLength"], }), plugins: ["jsx-a11y"], rules: [ { ruleName: "jsx-a11y/heading-has-content", }, ], }; }; exports.convertReactA11yAccessibleHeadings = convertReactA11yAccessibleHeadings; //# sourceMappingURL=react-a11y-accessible-headings.js.map